From d6953406c975fa93d6d750c722a11e5073523344 Mon Sep 17 00:00:00 2001 From: xiphon Date: Mon, 2 Nov 2020 15:44:36 +0000 Subject: rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P --- src/rpc/core_rpc_server.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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(invoke_http_mode::JON, "/sendrawtransaction", req, res, ok); + } + const bool restricted = m_restricted && ctx; bool skip_validation = false; -- cgit v1.2.3