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

Update isAddress to not throw #3251

Merged
merged 4 commits into from
Sep 25, 2024
Merged

Conversation

ryoid
Copy link
Contributor

@ryoid ryoid commented Sep 13, 2024

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 as assertIsAddress

Copy link

changeset-bot bot commented Sep 13, 2024

⚠️ No Changeset found

Latest commit: fd545e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mergify mergify bot added the community label Sep 13, 2024
@mergify mergify bot requested a review from a team September 13, 2024 21:01
Co-authored-by: Joe C <joe.caulfield@anza.xyz>
Copy link
Contributor

@buffalojoec buffalojoec left a 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!

@buffalojoec
Copy link
Contributor

O no, just a prettier issue. Then lgtm.

@ryoid
Copy link
Contributor Author

ryoid commented Sep 14, 2024

O no, just a prettier issue. Then lgtm.

Should be resolved now

@buffalojoec buffalojoec merged commit 76ee17b into solana-labs:master Sep 25, 2024
6 checks passed
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants