aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-11-03 11:23:17 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-11-03 11:23:17 -0600
commitc1229a4432b523c564bde62d8b444d6e70baf339 (patch)
tree13180e4316b427112651833947d05159fa4b10dd /src
parentMerge pull request #6964 (diff)
parentrpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (diff)
downloadmonero-c1229a4432b523c564bde62d8b444d6e70baf339.tar.xz
Merge pull request #6965
d695340 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
Diffstat (limited to '')
-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;