diff --git a/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go b/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go index 5e6adf928..d3e345d8d 100644 --- a/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go +++ b/app/protocol/flows/v5/blockrelay/ibd_with_headers_proof.go @@ -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 }