aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go')
-rw-r--r--vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go
index 47bea3f3d..7694dab4e 100644
--- a/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go
+++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/utils/signer.go
@@ -66,7 +66,7 @@ func (s *Signer) SignBlock(b *types.Block) (err error) {
// SignVote signs a types.Vote.
func (s *Signer) SignVote(v *types.Vote) (err error) {
v.ProposerID = s.proposerID
- v.Signature, err = s.prvKey.Sign(hashVote(v))
+ v.Signature, err = s.prvKey.Sign(HashVote(v))
return
}