From 1a0fc308968ff5ef8f67e2ef440f893e8e49bd23 Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Sat, 23 Jun 2018 15:03:44 -0700 Subject: [PATCH] Fix importaddress with rescan error that prevented picking up UTXOs --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index e1cca1878..85ae03b26 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1572,7 +1572,7 @@ bool CWallet::IsMine(const CTransaction& tx) { for (int i = 0; i < tx.vout.size(); i++) { - if (IsMine(tx, i) == ISMINE_SPENDABLE) + if (IsMine(tx, i)) return true; } return false;