mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -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)
|
CAmount GetAvailableBalance(const CWallet& wallet, const CCoinControl* coinControl)
|
||||||
{
|
{
|
||||||
LOCK(wallet.cs_wallet);
|
LOCK(wallet.cs_wallet);
|
||||||
return AvailableCoins(wallet,
|
return AvailableCoins(wallet, coinControl,
|
||||||
coinControl,
|
/*feerate=*/ std::nullopt,
|
||||||
std::nullopt, /*feerate=*/
|
/*nMinimumAmount=*/ 1,
|
||||||
1, /*nMinimumAmount*/
|
/*nMaximumAmount=*/ MAX_MONEY,
|
||||||
MAX_MONEY, /*nMaximumAmount*/
|
/*nMinimumSumAmount=*/ MAX_MONEY,
|
||||||
MAX_MONEY, /*nMinimumSumAmount*/
|
/*nMaximumCount=*/ 0
|
||||||
0 /*nMaximumCount*/
|
).total_amount;
|
||||||
).total_amount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const CTxOut& FindNonChangeParentOutput(const CWallet& wallet, const CTransaction& tx, int output)
|
const CTxOut& FindNonChangeParentOutput(const CWallet& wallet, const CTransaction& tx, int output)
|
||||||
|
|
Loading…
Add table
Reference in a new issue