diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 09:30:11 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 09:43:41 +0000 |
commit | 3ae79a59e445d67827cd3d34ec1cfc476ded36b3 (patch) | |
tree | d22728b1990d89c7d9a8e22fcfa42a06928c5f06 /src | |
parent | core_tests: decrease trace level from trace to debug (diff) | |
download | monero-3ae79a59e445d67827cd3d34ec1cfc476ded36b3.tar.xz |
core: set missing verifivation_failed flag when rejecting a tx
This fixes two core rct tests
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 22d473b35..2d5ccc559 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -532,6 +532,7 @@ namespace cryptonote if (rv.outPk.size() != tx.vout.size()) { LOG_PRINT_L1("WRONG TRANSACTION BLOB, Bad outPk size in tx " << tx_hash << ", rejected"); + tvc.m_verifivation_failed = true; return false; } for (size_t n = 0; n < tx.rct_signatures.outPk.size(); ++n) |