Skip to content

Conversation

@coolaj86
Copy link
Member

@coolaj86 coolaj86 commented Jul 15, 2023

There's a bug that toXPubBytes would output the version as xprv rather than xpub.

This fixes that.

It also allows custom version bytes (i.e. TESTNET or whatever).

Discovered while creating dashpay/dips#134

@coolaj86 coolaj86 changed the title Fix toXPubBytes Fix toXPubBytes(hdkey, opts) Jul 15, 2023
@coolaj86 coolaj86 requested a review from jojobyte July 15, 2023 06:00
Copy link
Contributor

@jojobyte jojobyte left a comment

Choose a reason for hiding this comment

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

LGTM

@coolaj86 coolaj86 merged commit 0866607 into main Jul 15, 2023
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