-
Notifications
You must be signed in to change notification settings - Fork 38.7k
wallet, bugfix: allow send with string fee_rate amounts #20573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wallet, bugfix: allow send with string fee_rate amounts #20573
Conversation
|
Found while adding tests for #20546. |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
review ACK 6fa72ce |
|
Code review ACK 6fa72ce |
promag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 6fa72ce.
Github-Pull: bitcoin#20573 Rebased-From: ce207d6
Github-Pull: bitcoin#20573 Rebased-From: 6fa72ce
|
Backported in #20612 |
RPC send currently only accepts fee rates as numbers, which is a user-facing bug. It should accept fee rates as an amount, e.g. a string or a number, as documented in its help and like sendtoaddress, sendmany, fundrawtransaction, walletcreatefundedpsbt, and bumpfee. Provide a fix and regression test coverage.