aboutsummaryrefslogtreecommitdiffstats
path: root/core/crypto.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto.go')
-rw-r--r--core/crypto.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/crypto.go b/core/crypto.go
index 0de73af..4fc49d7 100644
--- a/core/crypto.go
+++ b/core/crypto.go
@@ -40,15 +40,6 @@ func hashNotary(block *types.Block) (common.Hash, error) {
return hash, nil
}
-func signNotary(block *types.Block,
- prv crypto.PrivateKey) (crypto.Signature, error) {
- hash, err := hashNotary(block)
- if err != nil {
- return crypto.Signature{}, err
- }
- return prv.Sign(hash)
-}
-
func verifyNotarySignature(pubkey crypto.PublicKey,
notaryBlock *types.Block, sig crypto.Signature) (bool, error) {
hash, err := hashNotary(notaryBlock)