mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 22:21:21 +00:00
fix copy-pasted comment [ci skip]
This commit is contained in:
parent
714f885dac
commit
a655500047
@ -1113,7 +1113,7 @@ func (ps *PeerState) ensureVoteBitArrays(height int64, numValidators int) {
|
|||||||
|
|
||||||
// RecordVote updates internal statistics for this peer by recording the vote.
|
// RecordVote updates internal statistics for this peer by recording the vote.
|
||||||
// It returns the total number of votes (1 per block). This essentially means
|
// 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 {
|
func (ps *PeerState) RecordVote(vote *types.Vote) int {
|
||||||
ps.mtx.Lock()
|
ps.mtx.Lock()
|
||||||
defer ps.mtx.Unlock()
|
defer ps.mtx.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user