mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 01:12:39 +00:00
tx_pool: pre-init tvc.m_verifivation_failed before processing
CID 175316
This commit is contained in:
parent
50a629b2e6
commit
28b72b6ecc
1 changed files with 3 additions and 3 deletions
|
@ -202,6 +202,9 @@ namespace cryptonote
|
|||
return false;
|
||||
}
|
||||
|
||||
// assume failure during verification steps until success is certain
|
||||
tvc.m_verifivation_failed = true;
|
||||
|
||||
time_t receive_time = time(nullptr);
|
||||
|
||||
crypto::hash max_used_block_id = null_hash;
|
||||
|
@ -285,9 +288,6 @@ namespace cryptonote
|
|||
tvc.m_should_be_relayed = true;
|
||||
}
|
||||
|
||||
// assume failure during verification steps until success is certain
|
||||
tvc.m_verifivation_failed = true;
|
||||
|
||||
tvc.m_verifivation_failed = false;
|
||||
|
||||
MINFO("Transaction added to pool: txid " << id << " bytes: " << blob_size << " fee/byte: " << (fee / (double)blob_size));
|
||||
|
|
Loading…
Reference in a new issue