hd: fix rename method Child
of ExtendedKey
(#108)
This commit is contained in:
parent
16b9767781
commit
69f8837c76
@ -76,7 +76,7 @@ func (s ethSecp256k1Algo) Derive() hd.DeriveFn {
|
|||||||
|
|
||||||
key := masterKey
|
key := masterKey
|
||||||
for _, n := range hdpath {
|
for _, n := range hdpath {
|
||||||
key, err = key.Child(n)
|
key, err = key.Derive(n)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user