-
Notifications
You must be signed in to change notification settings - Fork 905
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
Update isAddress
to not throw
#3251
Conversation
|
Co-authored-by: Joe C <joe.caulfield@anza.xyz>
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.
Nice work, and thanks for the useful tests!
O no, just a prettier issue. Then lgtm. |
Should be resolved now |
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
When supplied with a non-base58 encoded string the function would unexpectedly throw.
This PR updates it to return
false
instead and adds similar tests asassertIsAddress