Browse Source

fix copy-pasted comment [ci skip]

pull/1244/head
Anton Kaliaev 6 years ago
parent
commit
a655500047
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consensus/reactor.go

+ 1
- 1
consensus/reactor.go View File

@ -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()


Loading…
Cancel
Save