aboutsummaryrefslogtreecommitdiffstats
path: root/core/crypto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto_test.go')
-rw-r--r--core/crypto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/crypto_test.go b/core/crypto_test.go
index 06f4905..595d0e9 100644
--- a/core/crypto_test.go
+++ b/core/crypto_test.go
@@ -154,7 +154,7 @@ func (s *CryptoTestSuite) generateBlockChain(
block := s.newBlock(prevBlock)
blocks[idx] = block
var err error
- block.Signature, err = signBlock(&simpleBlock{block: block}, prv)
+ block.Signature, err = prv.Sign(block.Hash)
s.Require().Nil(err)
}
return blocks