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[:])