Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dashpay): support upgrades over Dash Wallet for database and wallet #1282

Merged
merged 3 commits into from May 14, 2024

Conversation

HashEngineering
Copy link
Collaborator

Issue being fixed or feature implemented

Handle migration for the database and wallets

Related PR's and Dependencies

dashpay/dashj#252

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@@ -78,6 +78,7 @@ class OnboardingViewModel @Inject constructor(
if (!walletApplication.isWalletUpgradedToBIP44) {
walletApplication.wallet!!.addKeyChain(Constants.BIP44_PATH)
}
(walletApplication.wallet as WalletEx).initializeCoinJoin(0)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to add the CoinJoin keychain to the wallet when upgrading from Dash Wallet. In other places, we need to do the same when restoring from a backup file.

Copy link
Member

@Syn-McJ Syn-McJ left a comment

Choose a reason for hiding this comment

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

Looks good

@HashEngineering HashEngineering merged commit 441ad25 into dashpay May 14, 2024
1 check failed
@Syn-McJ Syn-McJ deleted the dashpay-mainnet-mixing branch May 16, 2024 05:55
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.

None yet

2 participants