From 13175a3c52eb08d1d724d09deff4cb5754ac45e6 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Tue, 3 Feb 2015 15:20:13 -0700 Subject: [PATCH] Fixed minconfirmations for IX --- src/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet.cpp b/src/wallet.cpp index bfda2e281..5bfc3589d 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1251,7 +1251,7 @@ void CWallet::AvailableCoins(vector& vCoins, bool fOnlyConfirmed, const int nDepth = pcoin->GetDepthInMainChain(false); // do not use IX coins until we have at least 1 blockchain confirmation - if (useIX && nDepth < 1) + if (useIX && nDepth <= 5) continue; for (unsigned int i = 0; i < pcoin->vout.size(); i++) {