mirror of
https://github.com/monero-project/monero.git
synced 2025-08-05 15:04:16 -04:00
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:
parent
f5d7652f73
commit
e9519e9876
2 changed files with 8 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue