diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-03 11:23:17 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-03 11:23:17 -0600 |
commit | c1229a4432b523c564bde62d8b444d6e70baf339 (patch) | |
tree | 13180e4316b427112651833947d05159fa4b10dd /src/rpc | |
parent | Merge pull request #6964 (diff) | |
parent | rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (diff) | |
download | monero-c1229a4432b523c564bde62d8b444d6e70baf339.tar.xz |
Merge pull request #6965
d695340 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index ca904ae84..f5ba5da9c 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1131,6 +1131,11 @@ namespace cryptonote { RPC_TRACKER(send_raw_tx); + { + bool ok; + use_bootstrap_daemon_if_necessary<COMMAND_RPC_SEND_RAW_TX>(invoke_http_mode::JON, "/sendrawtransaction", req, res, ok); + } + const bool restricted = m_restricted && ctx; bool skip_validation = false; |