Skip to content

bug: overlapping restores can drop a protected usdt payment attempt #1529

Closed

Description

@ovitrif

Twin: synonymdev/bitkit-ios#970

What happened?

When a wallet restores backups that overlap, with several USDT payment attempts for the same Paykit request, a restored attempt that is already funded or carries a payment proof can be replaced instead of kept. Copied bridge support details can also lose their labeled lines.

Expected behavior

Every funded or proof-bearing USDT attempt survives an overlapping restore and keeps protecting its request, so no duplicate payment can be prepared. Support details keep each value on its labeled line.

Steps to Reproduce

  1. Restore overlapping pending-payment backups for one Paykit USDT request.
  2. Prepare another quote for the same request.

Logs / Screenshots / Recordings

N/A

Bitkit Version

3.0.0 RC2 (current master)

Device / OS

Android

Reproducibility

Sometimes (overlapping restores)

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

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions