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 second device paying the same spark invoice shows its own amount #1507
Two installations of the same wallet can pay one amountless invoice at different amounts under the same Spark key. The second one then shows its own draft amount on Success, while Spark returned the first payment.
Steps
Restore the same wallet on two devices.
Open the same amountless invoice on both, and approve a different amount on each.
Pay on the first device, then on the second, before the first payment reaches the second device's Spark history.
Expected
The second device shows the amount that was paid, or refuses the second amount.
Actual
Spark SDK 0.28.3 returns the first payment by key without comparing amounts. SparkManager accepts its completed status, and SendSuccess shows the second device's draft amount.
Activity