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

fix: use correct nVersionBytes for address lookup #268

Merged
merged 1 commit into from
May 7, 2019

Conversation

maltemoeser
Copy link
Member

@maltemoeser maltemoeser commented May 1, 2019

Previously a default of 1 was used for nVersionBytes, resulting in addresses not being found when nVersionBytes was > 1 (e.g., for Zcash). Implementation assumes pubkeyPrefix and scriptPrefix have the same length (I'm currently not aware of a counterexample).

Fixes: #246

Previously a default of 1 was used for nVersionBytes, resulting in addresses not being found when nVersionBytes was > 1 (e.g., for Zcash). Implementation assumes pubkeyPrefix and scriptPrefix have the same length.

Fixes: citp#246
@maltemoeser maltemoeser added this to the v0.6 milestone May 1, 2019
@maltemoeser maltemoeser merged commit a637297 into citp:v0.6 May 7, 2019
@maltemoeser maltemoeser deleted the fix-nversionbytes branch June 3, 2019 16:43
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.

1 participant