diff --git a/crypto/hd/hdpath.go b/crypto/hd/hdpath.go index f3191300e2..d9f55a6635 100644 --- a/crypto/hd/hdpath.go +++ b/crypto/hd/hdpath.go @@ -156,10 +156,10 @@ func (p BIP44Params) String() string { p.AddressIndex) } -// ComputeMastersFromSeed returns the master public key, master secret, and chain code in hex. +// ComputeMastersFromSeed returns the master secret key's, and chain code. func ComputeMastersFromSeed(seed []byte) (secret [32]byte, chainCode [32]byte) { - masterSecret := []byte("Bitcoin seed") - secret, chainCode = i64(masterSecret, seed) + curveIdentifier := []byte("Bitcoin seed") + secret, chainCode = i64(curveIdentifier, seed) return }