aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-06 15:55:06 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-06 15:55:06 +0000
commitca18ff644b59f2ae490a30133655a6eedc97d87d (patch)
treea85e50a34390db7d06cc49345810777d457016d7
parentcn_deserialize: print tx extra fields in partly decoded tx extra (diff)
downloadmonero-ca18ff644b59f2ae490a30133655a6eedc97d87d.tar.xz
wallet2: detect spends in txes without a valid public tx key
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 181bb1852..af8fc1974 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -877,7 +877,7 @@ void wallet2::process_new_transaction(const crypto::hash &txid, const cryptonote
LOG_PRINT_L0("Public key wasn't found in the transaction extra. Skipping transaction " << txid);
if(0 != m_callback)
m_callback->on_skip_transaction(height, txid, tx);
- return;
+ break;
}
int num_vouts_received = 0;