cryptonote: fix calculating coinbase tx hash

Also set error flag on exception when handling new txes
to keep tests working
This commit is contained in:
moneromooo-monero
2019-03-20 12:11:24 +00:00
parent f5d7652f73
commit e9519e9876
2 changed files with 8 additions and 10 deletions
+2
View File
@@ -921,6 +921,7 @@ namespace cryptonote
catch (const std::exception &e)
{
MERROR_VER("Exception in handle_incoming_tx_pre: " << e.what());
tvc[i].m_verifivation_failed = true;
results[i].res = false;
}
});
@@ -951,6 +952,7 @@ namespace cryptonote
catch (const std::exception &e)
{
MERROR_VER("Exception in handle_incoming_tx_post: " << e.what());
tvc[i].m_verifivation_failed = true;
results[i].res = false;
}
});