We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9420752 commit ece4694Copy full SHA for ece4694
lnd/hdkeychain.go
@@ -45,7 +45,7 @@ func DeriveChildren(key *hdkeychain.ExtendedKey, path []uint32) (
45
// derived directly.
46
depth := derivedKey.Depth()
47
keyID := pathPart - hdkeychain.HardenedKeyStart
48
- if (depth == 3 && keyID != 0) || depth == 2 {
+ if (depth == 3 && keyID != 0) || (depth == 2 && keyID != 0) {
49
currentKey, err = hdkeychain.NewKeyFromString(
50
derivedKey.String(),
51
)
0 commit comments