aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/interfaces.go')
-rw-r--r--crypto/interfaces.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/interfaces.go b/crypto/interfaces.go
index 015ff40..280082e 100644
--- a/crypto/interfaces.go
+++ b/crypto/interfaces.go
@@ -39,4 +39,7 @@ type PrivateKey interface {
type PublicKey interface {
// VerifySignature checks that the given public key created signature over hash.
VerifySignature(hash common.Hash, signature Signature) bool
+
+ // Bytes returns the []byte representation of public key.
+ Bytes() []byte
}