Skip to content

Conversation

@furszy
Copy link
Member

@furszy furszy commented Jun 18, 2022

Should solve the tiny #25005 (comment).

Which merely happens for the extra "=" character after the comma.

@Empact
Copy link
Contributor

Empact commented Jun 18, 2022

Thoughts on flipping this around, to properly document the args?:

   return AvailableCoins(wallet, coinControl,
        /*feerate=*/ std::nullopt, 
        /*nMinimumAmount=*/ 1,           
        /*nMaximumAmount=*/ MAX_MONEY,
        /*nMinimumSumAmount=*/ MAX_MONEY,
        /*nMaximumCount=*/ 0
    ).total_amount;

…ch parameter name"

Happened because the "feerate=" comment was after the comma.
@furszy furszy force-pushed the 2022_wallet_25005_follow-up branch from 97b680a to 7ca8726 Compare June 18, 2022 15:46
@furszy
Copy link
Member Author

furszy commented Jun 18, 2022

Thoughts on flipping this around, to properly document the args?

Flipped 👍🏼

/*nMinimumAmount=*/ 1,
/*nMaximumAmount=*/ MAX_MONEY,
/*nMinimumSumAmount=*/ MAX_MONEY,
/*nMaximumCount=*/ 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could de-dent this to the standard 4 spaces

@Empact
Copy link
Contributor

Empact commented Jun 18, 2022

Code Review ACK 7ca8726

@maflcko maflcko merged commit 8e7eeb5 into bitcoin:master Jun 18, 2022
@w0xlt
Copy link
Contributor

w0xlt commented Jun 18, 2022

Post-merge ACK 7ca8726

@furszy furszy deleted the 2022_wallet_25005_follow-up branch May 27, 2023 01:50
@bitcoin bitcoin locked and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants