-
Notifications
You must be signed in to change notification settings - Fork 9
feat: support bech32 addresses #30
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
Conversation
| func generateBech32MAddress() string { | ||
| addressKey, err := crypto.GenerateKey() | ||
| if err != nil { | ||
| panic(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of panicking, we can return an error and throw a t.Fatal where we use this method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why this will ever happen, copied how we behave elsewhere in the tests when generating a key
No description provided.