aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-11-02 15:44:36 +0000
committerxiphon <xiphon@protonmail.com>2020-11-02 19:47:54 +0000
commitd6953406c975fa93d6d750c722a11e5073523344 (patch)
tree31f6eafae4beabf9fd4d3038c61d312e2719d94a
parentMerge pull request #6916 (diff)
downloadmonero-d6953406c975fa93d6d750c722a11e5073523344.tar.xz
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
-rw-r--r--src/rpc/core_rpc_server.cpp5
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;