Skip to content

bug: send confirm stays on its spinner when the invoice was already paid #2048

Description

@ovitrif

Behaviour

Paying an invoice already paid in the same session leaves the send Confirm screen on its swipe spinner for at least 20 s, until Back. The node logs Skipped duplicate processed payment and pays nothing.

Seen by @jvsena42 on local regtest (10,000 sats) during the device gate of #2020 at 9468eda, which includes #2017 (747926f). That PR changes no UI.

Notes

  • fix: keep confirm open until the swipe finishes #2017 resets Confirm when a failed send opens the Error screen (navigateToSendError), so a failed send followed by Back no longer keeps the spinner. The duplicate path shows no Error screen, so that reset doesn't run.
  • Cause not traced yet: which result the send returns for the skipped duplicate, and why Confirm neither leaves nor resets on it.

Expected

A payment of an invoice already paid ends the swipe: it shows the earlier payment's outcome or resets Confirm.

Activity

  1. added theissue type on Nov 25, 2026
  2. added this to the 3.2.0 milestone on Nov 25, 2026
  3. ovitrif commented on Nov 25, 2026

    @ovitrif
    CollaboratorAuthor

    Placed in 3.2.0 under #1946. A failed Spark send leaves Confirm stuck on its spinner, so the next send can't go through until the user goes Back. 3.2.0 ships with no known bugs in the send flow.

  4. self-assigned this
    on Nov 25, 2026
  5. changed the title [-]bug: send confirm stays on its spinner after a send that pays nothing[/-] [+]bug: send confirm stays on its spinner when the invoice was already paid[/+] on Nov 25, 2026
  6. ovitrif commented on Nov 25, 2026

    @ovitrif
    CollaboratorAuthor

    Narrowed to the already-paid case: #2017 (747926f) already resets Confirm when a failed send shows the Error screen, and the failed-send repro I first listed came from a build before it. The already-paid case was seen at 9468eda, which includes that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions