Skip to content

bug: profile deletion competes with background paykit work #1511

Closed

Description

@ovitrif

Twin: synonymdev/bitkit-ios#955
Refs:

What happened?

While a profile is being deleted, Paykit keeps doing its automatic work: publishing payment endpoints, refreshing contacts, importing Shop sellers and taking in payment requests. That work competes with the deletion's own cleanup, which slows deletion down, and a paid public invoice can be published again if the deletion fails.

Expected behavior

Deleting a profile pauses automatic Paykit work until the deletion ends, lets work already started finish, and resumes it if the profile is kept. A paid invoice is never published again.

Steps to Reproduce

  1. Sign in to a Pubky profile with many contacts (for example 62).
  2. Open Profile → Edit → Delete Profile and confirm.
  3. Watch deletion run while contact refreshes and endpoint publication continue in the background.

Logs / Screenshots / Recordings

N/A

Bitkit Version

3.0.0 RC2 (current master)

Device / OS

Android

Reproducibility

Always

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