mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
Merge bitcoin/bitcoin#25410: wallet: fix warning: "argument name 'feerate' in comment does not match parameter name"
7ca8726f63
wallet: fix warning: "argument name 'feerate' in comment does not match parameter name" (furszy) Pull request description: Should solve the tiny https://github.com/bitcoin/bitcoin/pull/25005#issuecomment-1159403854. Which merely happens for the extra "=" character after the comma. ACKs for top commit: Empact: Code Review ACK7ca8726f63
Tree-SHA512: e5368c1114f715bd93cb653c607fd0942ab0b79f709ed7aa627b3fc7e7efd096c92c5c86908c7f26c363b21e391a8faa812727eb32c285e54da3ce0429290361
This commit is contained in:
commit
8e7eeb5971
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