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

Invalid private key generation #2

Open
klim0v opened this issue Feb 13, 2020 · 1 comment
Open

Invalid private key generation #2

klim0v opened this issue Feb 13, 2020 · 1 comment

Comments

@klim0v
Copy link

klim0v commented Feb 13, 2020

import 	"github.com/ethereum/go-ethereum/crypto"

privateKey, _, _ := hdWallet("real town addict extend shoot name disagree vital turn live can tip")
log.Println(hex.EncodeToString(crypto.FromECDSA(privateKey)))

got c64f0b3e510d03adef3f057d1814bdc8a7f904caafa6928550fc10670dcff031
wanted c29cd818232f40614691a58c9afcbd5518b539cb135d73b1d9e26d5f5f5dcbbe (https://iancoleman.io/bip39/)

@klim0v
Copy link
Author

klim0v commented Mar 3, 2020

btcsuite/btcutil#159
it was a mistake on the m/44H/60H/0H path

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

No branches or pull requests

1 participant