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

PlatformAddress.check returns true with the invalid string #60

Open
sgkim126 opened this issue Apr 9, 2019 · 0 comments
Open

PlatformAddress.check returns true with the invalid string #60

sgkim126 opened this issue Apr 9, 2019 · 0 comments

Comments

@sgkim126
Copy link

sgkim126 commented Apr 9, 2019

Because the logic of PlatformAddress.check is different from PlatformAddress.fromString, check returns true for the invalid string.
For example, cccqgfrg4ncjqfrg4ncjqfrg4ncjqfrg4ncjq2tpqzg is not a valid platform address because the version is 2, but check returns true.

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

No branches or pull requests

1 participant