aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao@uphold.com>2016-03-08 00:15:17 +0000
committerJoão Barbosa <joao@uphold.com>2016-03-22 08:43:37 +0000
commitbb16c8894becfba8764b13d448ba6e7e7f1608c2 (patch)
tree530fdb3d0eca0d2d707c41870fc248841a386097 /src/wallet/wallet.h
parentc946a15075ba5a2da74a08bb5575391541196475 (diff)
downloadbitcoin-bb16c8894becfba8764b13d448ba6e7e7f1608c2.tar.xz
Prevent multiple calls to CWallet::AvailableCoins
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index d009211a92..e37d972a15 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -544,7 +544,7 @@ private:
* all coins from coinControl are selected; Never select unconfirmed coins
* if they are not ours
*/
- bool SelectCoins(const CAmount& nTargetValue, std::set<std::pair<const CWalletTx*,unsigned int> >& setCoinsRet, CAmount& nValueRet, const CCoinControl *coinControl = NULL) const;
+ bool SelectCoins(const std::vector<COutput>& vAvailableCoins, const CAmount& nTargetValue, std::set<std::pair<const CWalletTx*,unsigned int> >& setCoinsRet, CAmount& nValueRet, const CCoinControl *coinControl = NULL) const;
CWalletDB *pwalletdbEncryption;