We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588aa88 commit 4fecc7aCopy full SHA for 4fecc7a
eth/handler.go
@@ -653,7 +653,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
653
trueHead = request.Block.ParentHash()
654
trueTD = new(big.Int).Sub(request.TD, request.Block.Difficulty())
655
)
656
- // Update the peers total difficulty if better than the previous
+ // Update the peer's total difficulty if better than the previous
657
if _, td := p.Head(); trueTD.Cmp(td) > 0 {
658
p.SetHead(trueHead, trueTD)
659
0 commit comments