rpc: set sanity_check_failed to false when successful

This commit is contained in:
stoffu 2019-06-20 14:32:49 +09:00
parent 6335509727
commit 15c699f0a6
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012

View File

@ -820,6 +820,7 @@ namespace cryptonote
res.sanity_check_failed = true; res.sanity_check_failed = true;
return true; return true;
} }
res.sanity_check_failed = false;
cryptonote_connection_context fake_context = AUTO_VAL_INIT(fake_context); cryptonote_connection_context fake_context = AUTO_VAL_INIT(fake_context);
tx_verification_context tvc = AUTO_VAL_INIT(tvc); tx_verification_context tvc = AUTO_VAL_INIT(tvc);