good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 9aea0bba authored by ledgerwatch's avatar ledgerwatch Committed by GitHub
Browse files

Revert "Correct initial sync in no p2p discovery mode (#2877)" (#2881)

This reverts commit 810c004d.
parent effa51eb
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ Loop:
cfg.announceNewHashes(ctx, announces)
}
if headerInserter.BestHeaderChanged() { // We do not break unless there best header changed
if !cfg.noP2PDiscovery && !initialCycle {
if !initialCycle {
// if this is not an initial cycle, we need to react quickly when new headers are coming in
break
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment