-
Notifications
You must be signed in to change notification settings - Fork 40
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
GetPrefixHeader does not work for all AddressType values #140
Comments
You can do that instead of repeating same return @boorac |
@frytik thanks for the tip. The solution to the issue (I assume) would be to add the missing branches to the switch statement you proposed. |
@frytik Unfortunately there's a little more to it
These require us to support the Docs for doing this, came from your link
The other type addresses
These have to do with the |
GetPrefixHeader does not work for all values. Examples that do not work, but are valid addresses (as defined in https://github.com/cardano-foundation/CIPs/tree/master/CIP-0019#test-vectors):
It seems that updating the below snippet could be sufficient:
The text was updated successfully, but these errors were encountered: