les: add GetCheckpoint-- fix misleading log msg

This commit is contained in:
pacamara 2017-12-14 18:37:22 +00:00
parent 0138f2f6ed
commit b55e1dd24e

View file

@ -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
} }