eth: fix comment typo (#18114)

* consensus/clique: fix comment typo

* eth,eth/downloader: fix comment typo
pull/18118/head
mr_franklin 6 years ago committed by Péter Szilágyi
parent a6942b9f25
commit b91766fe6d
  1. 2
      eth/handler.go

@ -658,7 +658,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
p.SetHead(trueHead, trueTD)
// Schedule a sync if above ours. Note, this will not fire a sync for a gap of
// a singe block (as the true TD is below the propagated block), however this
// a single block (as the true TD is below the propagated block), however this
// scenario should easily be covered by the fetcher.
currentBlock := pm.blockchain.CurrentBlock()
if trueTD.Cmp(pm.blockchain.GetTd(currentBlock.Hash(), currentBlock.NumberU64())) > 0 {

Loading…
Cancel
Save