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:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user