diff options
author | xiphon <xiphon@protonmail.com> | 2020-11-02 15:44:36 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-11-02 19:47:54 +0000 |
commit | d6953406c975fa93d6d750c722a11e5073523344 (patch) | |
tree | 31f6eafae4beabf9fd4d3038c61d312e2719d94a /src/rpc | |
parent | Merge pull request #6916 (diff) | |
download | monero-d6953406c975fa93d6d750c722a11e5073523344.tar.xz |
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
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; |