You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: no-route toast when only the spark leg fee doesn't fit #1285
An on-chain-only contact paid from Spending gets "Can't pay this contact" when the amount fits the balance but the amount plus Spark's withdrawal fee does not.
Amount accepts up to the Lightning sendable amount.
SparkManager.withdrawalRouteLeg quotes no leg when the balance can't cover the amount plus the withdrawal fees.
So the router finds no route, and the toast blames the contact instead of showing the short-balance copy. The payment itself is correctly refused.
Open
The router reports no leg it skipped, so the app can't tell a fee shortfall from a contact it can't pay.
Fix options: count a Spark leg that was quoted but couldn't be covered as a short balance, or cap Amount at Spark's sendable amount minus the leg fee.
Activity
ovitrif commentedon Nov 12, 2026
Closed: fixed by #1191 on the Spark branch, which reached master through #1128 at 96225a1.