aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-11-24 11:19:31 -0800
committerAlexander Blair <snipa@jagtech.io>2020-11-24 11:19:32 -0800
commit8e7b762092f084dc325ef0eabdb09c32b90702ba (patch)
tree9274f6ad75fbd70360c949dcacf4c846b5cf4c81
parentMerge pull request #7028 (diff)
parentrpc: on_send_raw_tx - add missing CHECK_CORE_READY (diff)
downloadmonero-8e7b762092f084dc325ef0eabdb09c32b90702ba.tar.xz
Merge pull request #7037
8e829e034 rpc: on_send_raw_tx - add missing CHECK_CORE_READY (xiphon)
-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);