Merge pull request #5684

93eb4d7 rpc: set sanity_check_failed to false when successful (stoffu)
This commit is contained in:
luigi1111 2019-07-01 00:23:18 -05:00
commit 6e3d6f601a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 0 deletions

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);