Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh committed Apr 5, 2024
1 parent b2cfbb5 commit 4902007
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ void onSyncStateChanged_shouldNotResultInMultipleSubscriptions() {
void isCloseToInSync_shouldCalculateWhenDistanceOutOfRange() {
final UInt64 currentEpoch = storageSystem.combinedChainDataClient().getCurrentEpoch();
final int distanceOutsideRange =
spec.getSpecConfig(currentEpoch).getMaxSeedLookahead() * spec.slotsPerEpoch(currentEpoch) + 1;
spec.getSpecConfig(currentEpoch).getMaxSeedLookahead() * spec.slotsPerEpoch(currentEpoch)
+ 1;

// Current slot is a long way beyond the chain head
storageSystem.chainUpdater().setCurrentSlot(UInt64.valueOf(distanceOutsideRange));
Expand Down

0 comments on commit 4902007

Please sign in to comment.