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

Returns an Error in case of slicing non-ascii strings #599

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

neithanmo
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Uses the str::get to get a slice from a string.

Reference issue to close (if applicable)

Closes #595

Other information and links

@CLAassistant
Copy link

CLAassistant commented Aug 4, 2020

CLA assistant check
All committers have signed the CLA.

@austinabell austinabell changed the title Returns an Error in case of slicing non-utf-8 strings Returns an Error in case of slicing non-ascii strings Aug 4, 2020
@austinabell austinabell merged commit 8b0b35c into ChainSafe:main Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for non-utf-8 characters when converting Addresses from string slices
5 participants