From a655500047b776fcbd263ed4f19e16c255837a97 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Tue, 6 Mar 2018 11:41:02 +0400 Subject: [PATCH] fix copy-pasted comment [ci skip] --- consensus/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index f19b0a9ad..2eacc38db 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -1113,7 +1113,7 @@ func (ps *PeerState) ensureVoteBitArrays(height int64, numValidators int) { // RecordVote updates internal statistics for this peer by recording the vote. // It returns the total number of votes (1 per block). This essentially means -// the number of blocks for which peer has been sending us block parts. +// the number of blocks for which peer has been sending us votes. func (ps *PeerState) RecordVote(vote *types.Vote) int { ps.mtx.Lock() defer ps.mtx.Unlock()