mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-15 12:40:41 +02: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
@ -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…
Reference in New Issue
Block a user