aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2019-06-20 14:32:49 +0900
committerstoffu <stoffu@protonmail.ch>2019-06-20 14:32:49 +0900
commit15c699f0a6661f1ecd721a2e6855f48d4c2cda43 (patch)
treec63e5a87f3ca8183f731092fddad2ae840f69cbd
parentMerge pull request #5641 (diff)
downloadmonero-15c699f0a6661f1ecd721a2e6855f48d4c2cda43.tar.xz
rpc: set sanity_check_failed to false when successful
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
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);