From 2a45a1d684e3e1840174c800676df38cad64a178 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Thu, 8 Oct 2020 16:31:47 -0700 Subject: [PATCH] correct func comment --- consensus/consensus_service.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/consensus/consensus_service.go b/consensus/consensus_service.go index 93ded5139..3ace0d000 100644 --- a/consensus/consensus_service.go +++ b/consensus/consensus_service.go @@ -109,8 +109,7 @@ func NewFaker() *Consensus { return &Consensus{} } -// Sign on the hash of the message with the private keys and return the signature. -// If multiple keys are provided, the aggregated signature will be returned. +// Sign on the hash of the message func (consensus *Consensus) signMessage(message []byte, priKey *bls_core.SecretKey) []byte { hash := hash.Keccak256(message) signature := priKey.SignHash(hash[:])