Skip to content

Conversation

@tuxcanfly
Copy link
Collaborator

No description provided.

const privateKey = state.privateKey
// TODO: handle UX
if (!bcrypto.browser.valid(privateKey)) {
console.error('invalid key');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@yvsssantosh can you use this to show an error message that the key is invalid?

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.

2 participants