mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01: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:
@@ -232,13 +232,12 @@ 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*/
|
||||
return AvailableCoins(wallet, coinControl,
|
||||
/*feerate=*/ std::nullopt,
|
||||
/*nMinimumAmount=*/ 1,
|
||||
/*nMaximumAmount=*/ MAX_MONEY,
|
||||
/*nMinimumSumAmount=*/ MAX_MONEY,
|
||||
/*nMaximumCount=*/ 0
|
||||
).total_amount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user