aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2019-06-20 14:32:49 +0900
committerstoffu <stoffu@protonmail.ch>2019-06-22 07:43:36 +0900
commit93eb4d79b43eaef682d2b09f58833b3a130b7369 (patch)
treef59eb4652d46a2dccef91c955d59c0eade5d49d9
parentMerge pull request #5638 (diff)
downloadmonero-93eb4d79b43eaef682d2b09f58833b3a130b7369.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);