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: [lw-12170] await for libsodium(Crypto) ready in wallet manager #1582

Merged

Conversation

vetalcore
Copy link
Contributor

@vetalcore vetalcore commented Feb 4, 2025

Context

Since this commit most of the Crypto related utils are now sync.

Proposed Solution

But we still need to await for libsodium lib readiness before we can use all the utils.

Current change fixes an error thrown from derivePublic util from Bip32KeyDeriviation.ts, that is triggered (not directly) by wallet manager.

Important Changes Introduced

@vetalcore vetalcore self-assigned this Feb 4, 2025
Copy link
Contributor

@pczeglik-iohk pczeglik-iohk left a comment

Choose a reason for hiding this comment

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

Code looks good @vetalcore

Copy link
Contributor

@mirceahasegan mirceahasegan left a comment

Choose a reason for hiding this comment

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

Considering that wallet dependencies are using the Crypto package, I think this is a good place to add this one-time check. 💪

@vetalcore vetalcore merged commit 4c649e0 into master Feb 4, 2025
5 of 6 checks passed
@vetalcore vetalcore deleted the fix/lw-12170-await-libsodium-ready-in-wallet-manager-init branch February 4, 2025 15:31
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.

3 participants