diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 193ade4002..a6e4a16d14 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2558,7 +2558,7 @@ void CWallet::AvailableCoins(std::vector& vCoins, bool fOnlySafe, const } } -static void ApproximateBestSubset(std::vector > >vValue, const CAmount& nTotalLower, const CAmount& nTargetValue, +static void ApproximateBestSubset(const std::vector > >& vValue, const CAmount& nTotalLower, const CAmount& nTargetValue, std::vector& vfBest, CAmount& nBest, bool fUseInstantSend = false, int iterations = 1000) { std::vector vfIncluded; @@ -4011,7 +4011,7 @@ bool CWallet::SetDefaultKey(const CPubKey &vchPubKey) /** * Mark old keypool keys as used, - * and generate all new keys + * and generate all new keys */ bool CWallet::NewKeyPool() {