Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

WIF checksum error.. #241

Closed
bytemaster opened this issue Jun 9, 2014 · 1 comment
Closed

WIF checksum error.. #241

bytemaster opened this issue Jun 9, 2014 · 1 comment

Comments

@bytemaster
Copy link
Contributor

Importing my PTS/BTC privkeys only worked after doing the following steps

1.) get wif for pts/btc address
2.) go to brainwallet and convert Base65Check privkey to hex
3.) use key_to_wif to convert brainwallet hex key to privkey
4.) Both priv keys differ in the last view bytes (i suspect thats the Check-part)

@bytemaster
Copy link
Contributor Author

We were only using a single SHA256 hash... rather than 2.

Created unit test to pass the example give on bitcoin wiki.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant