Skip to content

clean deletion of wallet#751

Open
nikunjkumar05 wants to merge 3 commits intoblock-core:mainfrom
nikunjkumar05:bug
Open

clean deletion of wallet#751
nikunjkumar05 wants to merge 3 commits intoblock-core:mainfrom
nikunjkumar05:bug

Conversation

@nikunjkumar05
Copy link
Copy Markdown
Contributor

@nikunjkumar05 nikunjkumar05 commented Apr 3, 2026

Fixes #750
Add deletion of DerivedProjectKeys, FounderProjectsDocument, and InvestmentRecordsDocument by WalletId in the delete flow

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds cleanup of additional LiteDB-stored wallet-related documents during the wallet deletion flow to prevent orphaned funding records (per #750).

Changes:

  • Injects the relevant IGenericDocumentCollection<T> collections into WalletAppService.
  • Extends DeleteWallet to delete DerivedProjectKeys, FounderProjectsDocument, InvestmentRecordsDocument, and InvestmentHandshake records tied to the wallet.

@nikunjkumar05
Copy link
Copy Markdown
Contributor Author

Thanks for review I will fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keys not cleaned on wallet delete

2 participants