AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Bitcoin

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

Public commit record

What the developer wrote

Authored by merge-script

91/100 · Strong
Merge bitcoin/bitcoin#37011: test: fix input check of bumped tx in wallet_spend_unconfirmed.py

5b43f22f18a652e16125d9382cee831fa4f3e9a6 test: fix input check of bumped tx in wallet_spend_unconfirmed.py (Sebastian Falbesoner)

Pull request description:

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).

ACKs for top commit:
l0rinc:
code review ACK 5b43f22f18a652e16125d9382cee831fa4f3e9a6
maflcko:
lgtm ACK 5b43f22f18a652e16125d9382cee831fa4f3e9a6

Tree-SHA512: d67baabc05cfcde195b637e8ea3755570f80c0af21eca285f778c5ac86c82e7e9243163996cf48ee598e4e049ebc56007fb26f30c26ccf180ae924bc45981e34
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This is a one-line fix in a Bitcoin Core functional test file. The test was accidentally checking the wrong transaction after a fee-bump operation—it re-checked the original transaction instead of the new bumped transaction. This does not change any production wallet or node behavior; it only makes the test verify what it actually intended to verify.

Recommended action

No security action required. Treat as a normal test-quality improvement.

Security signals we found

01

No production code changed

02

Test-only assertion correction

03

No cryptographic, consensus, P2P, or wallet runtime logic modified

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.