mirror of
https://github.com/wownero/wownero-ng.git
synced 2026-11-16 05:24:23 +01: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