eth: fix minor grammar issue in comment (#18091)

This commit is contained in:
mr_franklin 2018-11-13 17:57:46 +08:00 committed by Péter Szilágyi
parent 588aa88121
commit 4fecc7a3b1

View File

@ -653,7 +653,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
trueHead = request.Block.ParentHash()
trueTD = new(big.Int).Sub(request.TD, request.Block.Difficulty())
)
// Update the peers total difficulty if better than the previous
// Update the peer's total difficulty if better than the previous
if _, td := p.Head(); trueTD.Cmp(td) > 0 {
p.SetHead(trueHead, trueTD)