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

set P-chain HRP for tx parsing in offline mode #243

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

bilgehansahin
Copy link
Contributor

We have explicitly set HRP in Online mode only. This results in incorrect addresses being produced as part of parse while running in offline - signing systems.

This PR removes the condition around the hrp setup - as mapper.GetHRP is not making any network calls.

Testing

Ran parse locally in offline mode and correctly parsed a transaction after the change.

bilgehansahin-cb and others added 2 commits March 27, 2024 16:06
@dhrubabasu dhrubabasu merged commit 16787ff into ava-labs:master Mar 27, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants