aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-11-22 16:11:19 +0000
committerxiphon <xiphon@protonmail.com>2020-11-22 16:11:19 +0000
commit8e829e034f1916815a32890fc363fa977b037faa (patch)
tree2039b25f3e24b4b0e4cef2f203cd89be316f9da0
parentMerge pull request #6997 (diff)
downloadmonero-8e829e034f1916815a32890fc363fa977b037faa.tar.xz
rpc: on_send_raw_tx - add missing CHECK_CORE_READY
-rw-r--r--src/rpc/core_rpc_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 9b08971cd..ca93e2849 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1151,6 +1151,10 @@ namespace cryptonote
CHECK_CORE_READY();
}
}
+ else
+ {
+ CHECK_CORE_READY();
+ }
CHECK_PAYMENT_MIN1(req, res, COST_PER_TX_RELAY, false);