mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
les: add GetCheckpoint-- fix misleading log msg
This commit is contained in:
parent
0138f2f6ed
commit
b55e1dd24e
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ func updateCheckpointFromPeer(pm *ProtocolManager, peer *peer, ctx context.Conte
|
||||||
log.Debug("updateCheckpointFromPeer", "peerHeadBlockNum", peerHeadBlockNum)
|
log.Debug("updateCheckpointFromPeer", "peerHeadBlockNum", peerHeadBlockNum)
|
||||||
|
|
||||||
if peerHeadBlockNum+1 < light.ChtFrequency {
|
if peerHeadBlockNum+1 < light.ChtFrequency {
|
||||||
log.Info("Peer has no fully processed blocks, nothing to do")
|
log.Info("Peer has no fully processed sections, so no checkpoint to download")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue