Skip to content

Commit

Permalink
Remove syncing check from ReviewBlockTree step (#6332)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmederosalvarado authored and kamilchodola committed Dec 14, 2023
1 parent d60a4d7 commit 1c578f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Nethermind/Nethermind.Init/Steps/ReviewBlockTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ public Task Execute(CancellationToken cancellationToken)
private async Task RunBlockTreeInitTasks(CancellationToken cancellationToken)
{
ISyncConfig syncConfig = _api.Config<ISyncConfig>();
if (!syncConfig.SynchronizationEnabled)
{
return;
}

if (_api.BlockTree is null) throw new StepDependencyException(nameof(_api.BlockTree));

Expand Down

0 comments on commit 1c578f0

Please sign in to comment.