diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-02 21:25:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-02 21:25:30 +0200 |
commit | c3eff820be039e4ab09ff762ff61411690ceb7f4 (patch) | |
tree | e690bee500620bfaae1768f2e38722eff2edd77c /src | |
parent | Merge pull request #1639 (diff) | |
parent | core: set missing verifivation_failed flag when rejecting a tx (diff) | |
download | monero-c3eff820be039e4ab09ff762ff61411690ceb7f4.tar.xz |
Merge pull request #1642
3ae79a59 core: set missing verifivation_failed flag when rejecting a tx (moneromooo-monero)
ea6549e9 core_tests: decrease trace level from trace to debug (moneromooo-monero)
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 ef473cfba..5ddedd6fd 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -531,6 +531,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) |