From aacc9fede79d9cacf18f027b9179de28be858f56 Mon Sep 17 00:00:00 2001 From: everoddandeven Date: Sun, 22 Feb 2026 21:18:52 +0100 Subject: [PATCH] Fix monero_wallet_full::get_txs() special case statement --- src/wallet/monero_wallet_full.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/monero_wallet_full.cpp b/src/wallet/monero_wallet_full.cpp index feeb055a..795015df 100644 --- a/src/wallet/monero_wallet_full.cpp +++ b/src/wallet/monero_wallet_full.cpp @@ -1817,7 +1817,7 @@ namespace monero { // special case: re-fetch txs if inconsistency caused by needing to make multiple wallet calls // TODO monero-project: offer wallet.get_txs(...) for (const std::shared_ptr& tx : txs) { - if (*tx->m_is_confirmed && tx->m_block == boost::none || !*tx->m_is_confirmed & tx->m_block != boost::none) { + if ((*tx->m_is_confirmed && tx->m_block == boost::none) || (!*tx->m_is_confirmed && tx->m_block != boost::none)) { std::cout << "WARNING: Inconsistency detected building txs from multiple wallet2 calls, re-fetching" << std::endl; monero_utils::free(txs); txs.clear();