Skip to content

fix: wipe swap records with the wallet #197

Open

Description

@ovitrif

Follow-up from #182 (Pubky Swaps routes).

pubky_swaps writes each swap's record to core/pubky_swaps/*.json: its contract, destination address, amounts and, before the broadcast, the saved claim whose witness carries the preimage. wipe_all_databases() clears only the activity and Blocktank tables, and the apps' wallet reset deletes only LDK storage, so swap records survive a successful wallet wipe.

Expected: wipe_all_databases() also removes the swap records.

Review thread: synonymdev/bitkit-ios#1170 (comment)

Activity

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