diff options
author | mr_franklin <mr_franklin@126.com> | 2018-11-13 17:57:46 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-13 17:57:46 +0800 |
commit | 4fecc7a3b1b9c51efad47ea128abcb7259158487 (patch) | |
tree | 1cb28ac54ca9b0db154aa1a69de72e3aeee6fc7e /eth | |
parent | 588aa88121db007b59142ed37e74800c09038a7a (diff) | |
download | dexon-4fecc7a3b1b9c51efad47ea128abcb7259158487.tar.gz dexon-4fecc7a3b1b9c51efad47ea128abcb7259158487.tar.zst dexon-4fecc7a3b1b9c51efad47ea128abcb7259158487.zip |
eth: fix minor grammar issue in comment (#18091)
Diffstat (limited to 'eth')
-rw-r--r-- | eth/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go index 1f62d820e..bd227a84e 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -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) |