diff --git a/crypto/crypto.go b/crypto/crypto.go index 82e19a5..21970ff 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -37,8 +37,8 @@ func DeriveGrandchildECKeyPair( // First apply the change. childXPrivKey, err := masterXPrivKey.Derive(0) if err != nil { - return nil, nil, err - } + return nil, nil, err + } grandchildXPrivKey, err := childXPrivKey.Derive(i) if err != nil { return nil, nil, err