Skip to content

fix: show a possible earlier payment for an expired wear invoice #2186

Backlog

Description

@jvsena42

Part of #2105.
Source: review, #2182

On the watch, when a send's outcome was unknown and the invoice then expires, opening the same invoice again reads as plainly expired. parse refuses the expired invoice before the uncertain-send notes or Spark's payment list are checked, so the watch does not say the earlier attempt may have paid. The Activity page shows the truth.

Proposal

  • When the wallet is ready, look the invoice's payment hash up in Spark's list and the notes before reporting it expired, and show Pending or Sent when found.

Done when

  • A unit test covers an unknown send whose invoice then expires.

Found in review round 3 of the Wear OS payments PR.

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions