Skip to content

fix: keep a ready wear wallet ready on a second resume #2194

Backlog

Description

@jvsena42

Part of #2105.
Source: review, #2193

On the watch, two resumes in a row can both start the wallet. The second start flips a wallet that is already Ready back to Connecting for a moment. A payment link opened just as the app returns can then be priced in that window and end on "Wallet not ready". Nothing is paid, and a retry works.

Proposal

  • In WalletRepo, make a start on an already-ready wallet with a live SDK a no-op, or have the second resume join the running start.

Done when

  • A unit test with two back-to-back resumes shows Ready is never left, and a link opened in between reaches Review.

Found while fixing the offline journey of the pending-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