mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
wallet: fix warning: "argument name 'feerate' in comment does not match parameter name"
Happened because the "feerate=" comment was after the comma.
This commit is contained in:
parent
8be652e439
commit
7ca8726f63
1 changed files with 7 additions and 8 deletions
|
@ -232,14 +232,13 @@ CoinsResult AvailableCoinsListUnspent(const CWallet& wallet, const CCoinControl*
|
|||
CAmount GetAvailableBalance(const CWallet& wallet, const CCoinControl* coinControl)
|
||||
{
|
||||
LOCK(wallet.cs_wallet);
|
||||
return AvailableCoins(wallet,
|
||||
coinControl,
|
||||
std::nullopt, /*feerate=*/
|
||||
1, /*nMinimumAmount*/
|
||||
MAX_MONEY, /*nMaximumAmount*/
|
||||
MAX_MONEY, /*nMinimumSumAmount*/
|
||||
0 /*nMaximumCount*/
|
||||
).total_amount;
|
||||
return AvailableCoins(wallet, coinControl,
|
||||
/*feerate=*/ std::nullopt,
|
||||
/*nMinimumAmount=*/ 1,
|
||||
/*nMaximumAmount=*/ MAX_MONEY,
|
||||
/*nMinimumSumAmount=*/ MAX_MONEY,
|
||||
/*nMaximumCount=*/ 0
|
||||
).total_amount;
|
||||
}
|
||||
|
||||
const CTxOut& FindNonChangeParentOutput(const CWallet& wallet, const CTransaction& tx, int output)
|
||||
|
|
Loading…
Add table
Reference in a new issue