Skip to content

Commit

Permalink
change pubkey type in Signer interface from ecdsa.PublicKey to []byte
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Kanda <[email protected]>
  • Loading branch information
dai1975 committed Jun 4, 2024
1 parent 17bcb2c commit f40243a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/signer.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package core

import (
"crypto/ecdsa"

"github.com/cosmos/gogoproto/proto"
)

Expand All @@ -14,5 +12,5 @@ type SignerConfig interface {

type Signer interface {
Sign(digest []byte) (signature []byte, err error)
GetPublicKey() (ecdsa.PublicKey, error)
GetPublicKey() ([]byte, error)
}

0 comments on commit f40243a

Please sign in to comment.