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 abfc8fb..564ad38 100644
--- a/core/crypto.go
+++ b/core/crypto.go
@@ -101,15 +101,6 @@ func hashBlock(blockConv types.BlockConverter) (common.Hash, error) {
return hash, nil
}
-func signBlock(blockConv types.BlockConverter,
- prv crypto.PrivateKey) (crypto.Signature, error) {
- hash, err := hashBlock(blockConv)
- if err != nil {
- return crypto.Signature{}, err
- }
- return prv.Sign(hash)
-}
-
func verifyBlockSignature(pubkey crypto.PublicKey,
blockConv types.BlockConverter, sig crypto.Signature) (bool, error) {
hash, err := hashBlock(blockConv)