Skip to content

Commit

Permalink
Update zetaclient/hsm_signer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Bertrand <[email protected]>
  • Loading branch information
kevinssgh and lumtis authored Nov 10, 2023
1 parent b62e95c commit daeb910
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zetaclient/hsm_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ func GenerateKey(label string, algorithm keystone.KeygenAlgorithm, config *crypt
if err != nil {
return nil, err
}
key, err := keyring.NewKey(algorithm, label)
if err != nil {
return nil, err
}
return key, nil
return keyring.NewKey(algorithm, label)
}

// GetHSMAddress This address is generated by secp256k1 curve from cosmos sdk
Expand Down

0 comments on commit daeb910

Please sign in to comment.