diff options
Diffstat (limited to 'core/utils/crypto_test.go')
-rw-r--r-- | core/utils/crypto_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils/crypto_test.go b/core/utils/crypto_test.go index f4280c2..f1fa9b6 100644 --- a/core/utils/crypto_test.go +++ b/core/utils/crypto_test.go @@ -130,7 +130,7 @@ func (s *CryptoTestSuite) TestVoteSignature() { nID := types.NewNodeID(pub) vote := types.NewVote(types.VoteInit, common.NewRandomHash(), 1) vote.ProposerID = nID - vote.Signature, err = prv.Sign(hashVote(vote)) + vote.Signature, err = prv.Sign(HashVote(vote)) s.Require().NoError(err) ok, err := VerifyVoteSignature(vote) s.Require().NoError(err) |