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
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 8 additions and 10 deletions

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