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

pytest: fix flake in test_closing_anchorspend_htlc_tx_rbf

Public commit record

What the developer wrote

Authored by Rusty Russell

83/100 · Strong
pytest: fix flake in test_closing_anchorspend_htlc_tx_rbf

```
2026-04-02T04:45:50.5882651Z > assert 3000 - 1 < total_feerate_perkw < 3000 + 1
2026-04-02T04:45:50.5883085Z E assert 3001.3083296990844 < (3000 + 1)
2026-04-02T04:45:50.5883354Z
2026-04-02T04:45:50.5883508Z tests/test_closing.py:3853: AssertionError
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This is a test-only change that makes a flaky test more tolerant. It does not change any production code, so it has no direct security impact on users of Core Lightning.

Recommended action

No action required; this is a test reliability fix. Reviewers may optionally verify that did_short_sig correctly detects low-R signatures and that the relaxed assertion still covers the intended feerate behavior.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 13/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 9/10
Evidence quality 4/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.