Repository navigation
test: Replace stale TODO with mempoolminfee test in wallet_send.py - #36705
Conradgabe wants to merge 1 commit into
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste 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. |
|
cc @Sjors |
|
🚧 At least one of the CI tasks failed. HintsTry to run the tests locally, according to the documentation. However, a CI failure may still
Leave a comment here, if you need help tracking down a confusing failure. |
87d1b55 to
a2d3213
Compare
tACK a2d3213 |
a2d3213 to
8711845
Compare
made the edit, thanks |
|
reACK 8711845 |

wallet_send.pyhad a commented-out TODO from the originalsendPR (#16378) about returning the hex when the fee rate is below the mempool minimum. The commented code was stale;estimate_mode="sat/b"no longer exists.Also, an explicit
fee_rateis only checked againstmax(-mintxfee, -minrelaytxfee), not againstmempoolminfee(seesrc/wallet/fees.cpp), so when the mempool is full,sendcan build a tx the node won't accept.This PR adds a subtest covering this cases and removes the stale TODO.
With
add_to_wallet=false, the returned hex is rejected bytestmempoolaccept, and withadd_to_wallet=true,sendreports success, but the tx stays only in the wallet, not the mempool.