diff options
author | xiphon <xiphon@protonmail.com> | 2020-01-10 15:25:29 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-01-14 22:56:23 +0000 |
commit | ffe7165ebfbb805b3bba57de8cb3f14d0b3411a0 (patch) | |
tree | a214cae4b1ef2736fd35b5d641f39cce741d6baa /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #6253 (diff) | |
download | monero-ffe7165ebfbb805b3bba57de8cb3f14d0b3411a0.tar.xz |
wallet: reroll fake outs selection on local tx_sanity_check failure
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index dc93e7023..fe4f919ce 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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"; |