File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Nethermind/Nethermind.Blockchain/Synchronization Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -269,9 +269,10 @@ private async Task RunSyncLoop()
269269 syncProgressTask = _parallelBlockDownloader . SyncHeaders ( SyncModeSelector . FullSyncThreshold , linkedCancellation . Token ) ;
270270 break ;
271271 case SyncMode . Headers :
272- syncProgressTask = _syncConfig . DownloadBodiesInFastSync
273- ? _blockDownloader . DownloadBlocks ( bestPeer , linkedCancellation . Token , false )
274- : _blockDownloader . DownloadHeaders ( bestPeer , SyncModeSelector . FullSyncThreshold , linkedCancellation . Token ) ;
272+ syncProgressTask = _blockDownloader . DownloadHeaders ( bestPeer , SyncModeSelector . FullSyncThreshold , linkedCancellation . Token ) ;
273+ // syncProgressTask = _syncConfig.DownloadBodiesInFastSync
274+ // ? _blockDownloader.DownloadBlocks(bestPeer, linkedCancellation.Token, false)
275+ // : _blockDownloader.DownloadHeaders(bestPeer, SyncModeSelector.FullSyncThreshold, linkedCancellation.Token);
275276 break ;
276277 case SyncMode . StateNodes :
277278 syncProgressTask = DownloadStateNodes ( _syncLoopCancellation . Token ) ;
You can’t perform that action at this time.
0 commit comments