Skip to content

Commit

Permalink
Reverse condition
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed May 19, 2023
1 parent eb732f6 commit 443f9e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ private bool ShouldBeInStateSyncMode(Snapshot best)
bool notInFastSync = !best.IsInFastSync;
bool notNeedToWaitForHeaders = NotNeedToWaitForHeaders;
bool stickyStateNodes = best.TargetBlock - best.Header < (FastSyncLag + StickyStateNodesDelta);
bool stateNotDownloadedYet = best.State > 0;
bool stateNotDownloadedYet = best.State <= 0;
bool notInAStickyFullSync = !IsInAStickyFullSyncMode(best);
bool notHasJustStartedFullSync = !HasJustStartedFullSync(best);

Expand Down

0 comments on commit 443f9e6

Please sign in to comment.