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: pending screen shows a repeat's amount for an amountless invoice #2072
Paying an amountless invoice again at another amount, while Spark still lists its first payment as pending, opens Payment Pending at the new amount. When the first payment completes, the success screen shows the new amount too, though Spark sent the first one.
SparkRepo.payInvoice answers a repeat of an invoice Spark lists pending with PaymentPendingException, before any key is chosen. AppViewModel then navigates with SendEffect.NavigateToPending(pendingHash, displayAmountSats), the draft amount, and the success receipt falls back to it.
A retry under the same Spark key at another amount is refused before anything goes out (#2071); this is the older path for a send Spark already lists pending. Expected: Pending and Success show the amount the earlier payment sent, or the repeat is refused on Confirm, as iOS does with its duplicate-payment error.
Activity
ovitrif commentedon Nov 26, 2026
Placed in 3.2.0: Pending and Success show an amount Spark never sent, and the app can fix it alone, as iOS already refuses the repeat on Confirm.
fix: show a pending payment's own amount on a repeat