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

splice-script: Round channel balances down

Public commit record

What the developer wrote

Authored by Dusty Daemon

68/100 · Adequate
splice-script: Round channel balances down

When getting channel balances, we round off the msats for splice script.

Changelog-Fixed: Fix for `splicein`, `spliceout`, and `dev-splice` commands where channel balances included partial sats.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a rounding bug in Core Lightning's splice commands. Previously, when reading a channel balance expressed in milli-satoshis (msat), the code rounded to the nearest whole satoshi. Now it always rounds down. The change removes two test markers that expected the old behavior to fail, suggesting the bug was causing real splice-in/splice-out failures when balances had fractional satoshis.

Recommended action

Treat as a functional bug fix rather than a security vulnerability. Review whether the old rounding behavior could have caused incorrect splice amounts, failed transactions, or inconsistent channel states. If automated splice operations are used, verify behavior with balances containing fractional satoshis after upgrading.

Security signals we found

01

Behavioral change in monetary parsing: rounding mode changed from nearest to down

02

Changelog labels the change as a fix for user-facing splice commands

03

Test expectations changed: xfail markers removed, indicating previously failing real behavior

04

No explicit security framing by the vendor

Risk score

Why this scored 32/100

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