lint fixes

This commit is contained in:
Zach Ramsay
2017-10-28 11:07:59 -04:00
committed by Ethan Buchman
parent 6f3c05545d
commit 2563b4fc92
3 changed files with 7 additions and 6 deletions

View File

@ -232,7 +232,7 @@ func (pool *BlockPool) AddBlock(peerID string, block *types.Block, blockSize int
}
}
// MaxPeerHeight returns the heighest height reported by a peer
// MaxPeerHeight returns the highest height reported by a peer.
func (pool *BlockPool) MaxPeerHeight() int {
pool.mtx.Lock()
defer pool.mtx.Unlock()