Fix syntax

This commit is contained in:
Ori Newman 2022-11-29 11:34:26 +02:00
parent 9bb19705a4
commit bad1e38746

View File

@ -85,7 +85,7 @@ func (flow *handleIBDFlow) shouldSyncAndShouldDownloadHeadersProof(
return true, true, nil
}
if !highestKnownSyncerChainHash {
if highestKnownSyncerChainHash == nil {
log.Infof("Stopping IBD since IBD from this node will cause a finality conflict")
return false, false, nil
}