aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-16 11:27:26 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-16 11:27:52 +0100
commit0aaaca29a26b2910ff33dd7b9f5d1c26ca5cdc7f (patch)
tree82670557abbfb6f2116deda52474931e05a1b5c4 /src/cryptonote_core/tx_pool.cpp
parentsimplewallet: print tx rejection reason where it was missing (diff)
downloadmonero-0aaaca29a26b2910ff33dd7b9f5d1c26ca5cdc7f.tar.xz
tx_pool: set the "invalid input" bit when check_tx_inputs fails
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r--src/cryptonote_core/tx_pool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index e61d95ac3..8d4d90d37 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -246,6 +246,7 @@ namespace cryptonote
{
LOG_PRINT_L1("tx used wrong inputs, rejected");
tvc.m_verifivation_failed = true;
+ tvc.m_invalid_input = true;
return false;
}
}else