Skip to content

bug: a second device paying the same spark invoice shows its own amount #1507

Backlog

Description

@ovitrif

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

  1. Restore the same wallet on two devices.
  2. Open the same amountless invoice on both, and approve a different amount on each.
  3. 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.

Found in @pwltr's review of #1415 (#1415 (review)).

Activity

  1. added this to the 3.3.0 milestone on Nov 26, 2026
  2. added theissue type on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions