aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-28 09:30:11 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-28 09:43:41 +0000
commit3ae79a59e445d67827cd3d34ec1cfc476ded36b3 (patch)
treed22728b1990d89c7d9a8e22fcfa42a06928c5f06 /src/cryptonote_core
parentcore_tests: decrease trace level from trace to debug (diff)
downloadmonero-3ae79a59e445d67827cd3d34ec1cfc476ded36b3.tar.xz
core: set missing verifivation_failed flag when rejecting a tx
This fixes two core rct tests
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp1
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)