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: overlapping spark sends of one invoice both go out #1895
Two overlapping Spark sends of one invoice can both go out. LightningRepo.admitSend admits a send whenever the key is free or held by the same rail, so a second Spark send of an invoice that is already in flight on Spark is admitted. Spark doesn't refuse a repeat.
This was already the case on master. #1893 widens the window, because a pre-restore invoice now waits for the operators' answer before the send.
To do
Refuse a second Spark send of a hash that already has a Spark send admitted or recorded. LDK refuses its own repeats, so the node rail can keep counting as it does now. Add a test that overlaps two Spark sends of one invoice and expects exactly one to reach the rail.
changed the title [-]fix: overlapping spark sends of one invoice both go out[/-][+]bug: overlapping spark sends of one invoice both go out[/+]on Nov 12, 2026
Activity
[-]fix: overlapping spark sends of one invoice both go out[/-][+]bug: overlapping spark sends of one invoice both go out[/+]ovitrif commentedon Nov 12, 2026
Milestone 3.2.0: this issue is a bug in Spark sends, which ship in 3.2.0.