mirror of
https://github.com/monero-project/monero.git
synced 2026-01-09 19:55:20 -08:00
core: avoid possible reordering bugs wth tx/bloch hash cache
This commit is contained in:
@@ -355,11 +355,11 @@ namespace cryptonote
|
||||
|
||||
if(check_hash(h, diffic))
|
||||
{
|
||||
bl.hash_valid = false;
|
||||
bl.invalidate_hashes();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
bl.hash_valid = false;
|
||||
bl.invalidate_hashes();
|
||||
return false;
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user