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 repaid spark invoice shows the new amount on success after restart #2122
After a restart, repeating an amountless invoice already paid over Spark at another amount shows the new amount on Success.
Steps
Pay an amountless invoice over Spark and wait until it is paid.
Restart the app, then pay the same invoice again at another amount.
Expected
Success shows the amount that was paid.
Actual
SparkRepo.payInvoice returns the paid payment without sending again, but AppViewModel reads the earlier amount only for a payment this view model has already processed, so Success shows the new amount.
Activity