mirror of
https://github.com/monero-project/monero.git
synced 2025-12-31 15:06:11 -08:00
wallet: reroll fake outs selection on local tx_sanity_check failure
This commit is contained in:
@@ -1087,7 +1087,7 @@ namespace cryptonote
|
||||
return true;
|
||||
}
|
||||
|
||||
if (req.do_sanity_checks && !cryptonote::tx_sanity_check(m_core.get_blockchain_storage(), tx_blob))
|
||||
if (req.do_sanity_checks && !cryptonote::tx_sanity_check(tx_blob, m_core.get_blockchain_storage().get_num_mature_outputs(0)))
|
||||
{
|
||||
res.status = "Failed";
|
||||
res.reason = "Sanity check failed";
|
||||
|
||||
Reference in New Issue
Block a user