hd: fix rename method Child of ExtendedKey (#108)

This commit is contained in:
Leo Pang 2021-06-09 19:54:08 +08:00 committed by GitHub
parent 16b9767781
commit 69f8837c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ func (s ethSecp256k1Algo) Derive() hd.DeriveFn {
key := masterKey
for _, n := range hdpath {
key, err = key.Child(n)
key, err = key.Derive(n)
if err != nil {
return nil, err
}