Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
hd: fix rename method Child of ExtendedKey (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
allthatjazzleo committed Jun 9, 2021
1 parent 16b9767 commit 69f8837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/hd/algorithm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 69f8837

Please sign in to comment.