From 15c699f0a6661f1ecd721a2e6855f48d4c2cda43 Mon Sep 17 00:00:00 2001 From: stoffu Date: Thu, 20 Jun 2019 14:32:49 +0900 Subject: [PATCH] rpc: set sanity_check_failed to false when successful --- src/rpc/core_rpc_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 3db138719..b6836e636 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -820,6 +820,7 @@ namespace cryptonote res.sanity_check_failed = true; return true; } + res.sanity_check_failed = false; cryptonote_connection_context fake_context = AUTO_VAL_INIT(fake_context); tx_verification_context tvc = AUTO_VAL_INIT(tvc);