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

Update to support pubKeyHash and scriptHash for zcash forks #26

Closed
wants to merge 2 commits into from

Conversation

stultusmundi
Copy link

Description
When creating Zcash ECPAIR from WIF and passing network options, a typeforce check will fail.

Reason
Because Zcash and some forks based on it have pubKeyHash and scriptHash bigger than UInt8

These two values don't appear to be used in this library.

@stultusmundi stultusmundi requested a review from a team as a code owner May 16, 2024 14:54
Copy link

@OttoAllmendinger OttoAllmendinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would be a separate type just for Zcash ECPairs. For all other coins UInt8 is still the correct type.

"name": "@bitgo-forks/ecpair",
"version": "0.0.0-semantic-release-managed",
"description": "Fork of ecpair with BitGo specific changes",
"name": "@runonflux/bitgo-ecpair",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you push to the wrong remote by any chance?

@OttoAllmendinger
Copy link

sorry, this change is not useful for the BitGo stack

@stultusmundi
Copy link
Author

Yes sorry about this. I made a mistake.

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.

2 participants