diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:41:40 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:41:40 +0200 |
commit | 1f01070a0c262e6eeaf37513087756832a2dee92 (patch) | |
tree | ce911db9f29b831cab8b54debc8502656742f582 /src/wallet/wallet2.cpp | |
parent | Merge pull request #5432 (diff) | |
parent | rpc: new sanity check on relayed transactions (diff) | |
download | monero-1f01070a0c262e6eeaf37513087756832a2dee92.tar.xz |
Merge pull request #5434
ccb996af rpc: new sanity check on relayed transactions (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index b0e1400fa..ea0e6629a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -6000,6 +6000,7 @@ void wallet2::commit_tx(pending_tx& ptx) COMMAND_RPC_SEND_RAW_TX::request req; req.tx_as_hex = epee::string_tools::buff_to_hex_nodelimer(tx_to_blob(ptx.tx)); req.do_not_relay = false; + req.do_sanity_checks = true; COMMAND_RPC_SEND_RAW_TX::response daemon_send_resp; m_daemon_rpc_mutex.lock(); bool r = epee::net_utils::invoke_http_json("/sendrawtransaction", req, daemon_send_resp, m_http_client, rpc_timeout); |