aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-25 16:53:07 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-25 16:53:07 +0200
commit0e7477707114e0dc5ec7e4e2683b5410a52afca4 (patch)
tree2e03710da2f12ebc6a160450e7dbe575642b15d9 /src/cryptonote_core
parentMerge pull request #2424 (diff)
parenttx_pool: set the "invalid input" bit when check_tx_inputs fails (diff)
downloadmonero-0e7477707114e0dc5ec7e4e2683b5410a52afca4.tar.xz
Merge pull request #2452
0aaaca29 tx_pool: set the "invalid input" bit when check_tx_inputs fails (moneromooo-monero) 9236823b simplewallet: print tx rejection reason where it was missing (moneromooo-monero) 3dee3301 core_rpc_server: print tx rejection reason at L0 too (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-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 0485f731f..9071c330c 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -249,6 +249,7 @@ namespace cryptonote
{
LOG_PRINT_L1("tx used wrong inputs, rejected");
tvc.m_verifivation_failed = true;
+ tvc.m_invalid_input = true;
return false;
}
}else