gomod2nix/tests/ethermint/crypto/hd/algorithm.go
HuangYi e54afe9222
fix symlink nested package
- added a test case to demonstrate the fail scenario
2022-05-20 15:54:53 +08:00

11 lines
244 B
Go

package hd
import (
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil/hdkeychain"
)
// NewExtendedKey
func NewExtendedKey() (*hdkeychain.ExtendedKey, error) {
return hdkeychain.NewMaster([]byte{}, &chaincfg.MainNetParams)
}