mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 06:37:46 +00:00
Merge pull request #1867
b54e19d0
protocol: fix wrong tx being looked up from fluffy block (moneromooo-monero)
This commit is contained in:
commit
2f8e0af7f9
1 changed files with 10 additions and 1 deletions
|
@ -548,7 +548,16 @@ namespace cryptonote
|
|||
tx_ids.push_back(tx_hash);
|
||||
if (m_core.get_transactions(tx_ids, txes, missing) && missing.empty())
|
||||
{
|
||||
have_tx.push_back(tx_to_blob(tx));
|
||||
if (txes.size() == 1)
|
||||
{
|
||||
have_tx.push_back(tx_to_blob(txes.front()));
|
||||
}
|
||||
else
|
||||
{
|
||||
MERROR("1 tx requested, none not found, but " << txes.size() << " returned");
|
||||
m_core.resume_mine();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue