From ca18ff644b59f2ae490a30133655a6eedc97d87d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 6 Dec 2017 15:55:06 +0000 Subject: wallet2: detect spends in txes without a valid public tx key --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet2.cpp') 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; -- cgit v1.2.3