From 8e829e034f1916815a32890fc363fa977b037faa Mon Sep 17 00:00:00 2001 From: xiphon Date: Sun, 22 Nov 2020 16:11:19 +0000 Subject: [PATCH] rpc: on_send_raw_tx - add missing CHECK_CORE_READY --- src/rpc/core_rpc_server.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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);