Skip to content

Commit

Permalink
Update pkg/keys/ed25519.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ethan Lowman <[email protected]>
  • Loading branch information
arbll and ethan-lowman-dd authored Jan 27, 2022
1 parent 4f692ee commit f3fdc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/keys/ed25519.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func GenerateEd25519Key() (*ed25519Signer, error) {
}, nil
}

func Ed25519Key(keyValue Ed25519PrivateKeyValue) *ed25519Signer {
func NewEd25519Signer(keyValue Ed25519PrivateKeyValue) *ed25519Signer {
return &ed25519Signer{
PrivateKey: ed25519.PrivateKey(data.HexBytes(keyValue.Private)),
keyType: data.KeyTypeEd25519,
Expand Down

0 comments on commit f3fdc16

Please sign in to comment.