Skip to content

Commit 1fce65e

Browse files
committed
Re-introduce -spendzeroconfchange parameter
1 parent e0e3d5f commit 1fce65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

divi/src/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ std::pair<std::string,bool> CWallet::CreateTransaction(
18581858

18591859
LOCK2(cs_main, cs_wallet);
18601860
std::vector<COutput> vCoins;
1861-
AvailableCoins(vCoins, true, coin_type);
1861+
AvailableCoins(vCoins, !settings.GetBoolArg("-spendzeroconfchange", false);, coin_type);
18621862

18631863
// vouts to the payees
18641864
AppendOutputs(vecSend,txNew);

0 commit comments

Comments
 (0)