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: payment pending can show an older attempt's amount on a repeat #2135
Payment Pending's amount lookup for a repeated amountless invoice (AppViewModel.earlierLightningSendSats) has two edges:
An older row wins over a live hold. If a 1 000-sat attempt fails while its Activity update is deferred, and a fresh 2 000-sat attempt then goes pending, the older row still reads PENDING. Pending shows 1 000 sats, and Success can carry that amount when settlement supplies none (SendPendingScreen).
A cache read error skips Pending. With no usable Activity row, the lookup reads the cache after the payment is tracked as pending. If that read throws an I/O error, the send flow skips Pending navigation and the immediate check for an already-settled Spark payment.
Expected
Pending shows the amount of the attempt it waits on, and a failed lookup falls back to the draft amount instead of interrupting navigation.
Activity