diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-05 19:13:24 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-05 20:15:54 +0100 |
| commit | 5c9dd23b1cc8d61beceaf51588bbf08936d25711 (patch) | |
| tree | ec211282d9837e9ddbdd8b2442f91dcd6cb4c8d8 /src/wallet/wallet2.cpp | |
| parent | e7c8a32a288b9e5d82da09c8e077f7ed0e440fec (diff) | |
| download | monzero-core-5c9dd23b1cc8d61beceaf51588bbf08936d25711.tar.gz monzero-core-5c9dd23b1cc8d61beceaf51588bbf08936d25711.tar.xz monzero-core-5c9dd23b1cc8d61beceaf51588bbf08936d25711.zip | |
rpc: add a do_not_relay boolean to tx submission
Just to make it easier
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 a9a65535f..cdd472528 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1974,6 +1974,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; COMMAND_RPC_SEND_RAW_TX::response daemon_send_resp; m_daemon_rpc_mutex.lock(); bool r = epee::net_utils::invoke_http_json_remote_command2(m_daemon_address + "/sendrawtransaction", req, daemon_send_resp, m_http_client, 200000); |
