diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index eadd825b5..a01dbe6bb 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2410,7 +2410,7 @@ void CWallet::AvailableCoins(vector& vCoins, bool fOnlyConfirmed, const } static void ApproximateBestSubset(vector > >vValue, const CAmount& nTotalLower, const CAmount& nTargetValue, - vector& vfBest, CAmount& nBest, int iterations = 1000, bool fUseInstantSend = false) + vector& vfBest, CAmount& nBest, bool fUseInstantSend = false, int iterations = 1000) { vector vfIncluded;