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

remove starts with erd check for valid addresses #1267

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Conversation

andreigiura
Copy link
Contributor

Issue

When checking for valid address we check if it statrs with "erd" this does not allow other HRP's

Reproduce

Issue exists on version 2.40.6 of sdk-dapp.

Root cause

Hardcoded "erd" check

Fix

Remove the hardcoded "erd" since converting the string to Address object should be sufficient

Additional changes

Contains breaking changes

[x] No

[] Yes

Updated CHANGELOG

[x] Yes

Testing

[x] User testing
[] Unit tests

@andreigiura andreigiura merged commit 0cd2b34 into main Sep 23, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants