mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
eth: fix minor grammar issue in comment (#18091)
This commit is contained in:
parent
588aa88121
commit
4fecc7a3b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue