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: a link replacing a send can take the old swipe's result #2026
A payable Lightning link that replaces an open send while that send's swipe is still running can be acted on with the old swipe:
The update quote taken at payment time (AppViewModel.updateSpendingBalanceIfNeeded) has no check that the send it belongs to is still the current one. If a link replaces the send while it waits, a higher fee shows on the replacement and resets its Confirm, or a quote failure takes the replacement to the payment error screen.
An on-chain swipe that resumes from its fee check (AppViewModel.kt:6785–6791 at fix: keep confirm open until the swipe finishes #2017's base) can set shouldConfirmPay on the replacement, which can then be submitted without a swipe of its own. This needs QuickPay and PIN for payments off, and a trace showing the replacement reaching Confirm before the fee check resumes.
Activity