From 69f8837c76610adb8588303527d9bc252e0c831b Mon Sep 17 00:00:00 2001 From: Leo Pang <34628052+allthatjazzleo@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:54:08 +0800 Subject: [PATCH] hd: fix rename method `Child` of `ExtendedKey` (#108) --- crypto/hd/algorithm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/hd/algorithm.go b/crypto/hd/algorithm.go index 590a39a0..81a11e52 100644 --- a/crypto/hd/algorithm.go +++ b/crypto/hd/algorithm.go @@ -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 }