test: fix input check of bumped tx in wallet_spend_unconfirmed.py #37011

Manually merged
theStack merged 1 commit from test-fix-input-check-bumped_tx into master 2026-11-30 12:13:36 +00:00 AGit
theStack commented 2026-11-29 19:34:39 +00:00 (Migrated from github.com)

This PR fixes a small (likely copy-pasta) mistake in wallet_spend_unconfirmed.py (introduced in 2e35e944da / #26152): after bumping the fee, the test_rbf_bumping sub-test meant to check that the replacement transaction still has a single input spending from the unconfirmed parent, but mistakenly checked the original transaction again (which had already been checked before the bump).

This PR fixes a small (likely copy-pasta) mistake in `wallet_spend_unconfirmed.py` (introduced in 2e35e944dab09eff30952233f8dfc0b12c4553d5 / #26152): after bumping the fee, the `test_rbf_bumping` sub-test meant to check that the replacement transaction still has a single input spending from the unconfirmed parent, but mistakenly checked the original transaction again (which had already been checked before the bump).
DrahtBot commented 2026-11-29 19:34:48 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK l0rinc, maflcko

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/37011 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/37011.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/37011#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [l0rinc](https://github.com/bitcoin/bitcoin/pull/37011#issuecomment-7277251879), [maflcko](https://github.com/bitcoin/bitcoin/pull/37011#issuecomment-7277774284) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

I found no actionable issues in this static review.


Reviewed: 5b43f22f18a6 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:312ddb2095238aa2ca395a9cc39b05ab5a38a7177afbdb0d69098df9c3e0bef9:9a7f127b15c6116c267953d38288a9f17ec7c7bcd3a975fb71a2db8bfd974dbf --> <!-- ralph-base:afedb19cca4c3b40d89514fb0c66b0c20e4f5d62 --> <!-- ralph-head:5b43f22f18a652e16125d9382cee831fa4f3e9a6 --> <!-- ralph-case:7557c6e5c0b3be06d63582223f65310e33577dc4a1e0f3fa60d007bbd3c30537 --> I found no actionable issues in this static review. <!-- Review tier: routine --> --- Reviewed: [`5b43f22f18a6`](<https://git.fish.foo/bitcoin/bitcoin/commit/5b43f22f18a652e16125d9382cee831fa4f3e9a6>) · [Review report](<https://review.fish.foo/report/37011-5b43f22f18a652e16125d9382cee831fa4f3e9a6-3306-1.html>) · [Previous reports](<https://review.fish.foo/traces/37011/>) [permalink](<https://review.fish.foo/report/37011-5b43f22f18a652e16125d9382cee831fa4f3e9a6-3306-1.html>)
l0rinc commented 2026-11-30 11:35:57 +00:00 (Migrated from github.com)

code review ACK 5b43f22f18

code review ACK 5b43f22f18a652e16125d9382cee831fa4f3e9a6
maflcko commented 2026-11-30 11:58:33 +00:00 (Migrated from github.com)

lgtm ACK 5b43f22f18

lgtm ACK 5b43f22f18a652e16125d9382cee831fa4f3e9a6
fanquake commented 2026-11-30 12:16:19 +00:00 (Migrated from github.com)

Backported to 32.x in #36984.

Backported to `32.x` in #36984.
fanquake commented 2026-11-30 12:18:12 +00:00 (Migrated from github.com)

Backported to 31.x in #36928 and 30.x in #36929.

Backported to `31.x` in #36928 and `30.x` in #36929.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!37011
No description provided.