Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dceleda committed Apr 27, 2022
1 parent 23d6131 commit 12c103c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public TreeSync(SyncMode syncMode, IDb codeDb,IDb stateDb, IBlockTree blockTree,
return await Task.FromResult(result);
}

if (requestHashes.Count == 0 && secondsInCurrentSync >= Timeouts.Eth.Seconds)
if (requestHashes.Count == 0 && secondsInCurrentSync >= Timeouts.Eth.TotalSeconds)
{
// trying to reproduce past behaviour where we can recognize the transition time this way
Interlocked.Increment(ref _hintsToResetRoot);
Expand Down

0 comments on commit 12c103c

Please sign in to comment.