diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-20 12:11:24 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-21 17:13:01 +0000 |
commit | e9519e98760c6ffaa9552b3074d5483fb2551413 (patch) | |
tree | 982429e46a89b40fd00c68971e1b044fc7768cde /src/cryptonote_core | |
parent | Merge pull request #5283 (diff) | |
download | monero-e9519e98760c6ffaa9552b3074d5483fb2551413.tar.xz |
cryptonote: fix calculating coinbase tx hash
Also set error flag on exception when handling new txes
to keep tests working
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 58acdb6bb..387203cc0 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -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; } }); |