Skip to content

Commit e8383fd

Browse files
committed
fixed a doc mistype in Errors.sol
1 parent e3be080 commit e8383fd

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

service_contracts/src/Errors.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ library Errors {
204204
/// @notice The epoch range is invalid
205205
/// @notice Will be emitted if any of the following conditions is NOT met :
206206
/// @notice 1. fromEpoch must be less than toEpoch
207-
/// @notice 2. toEpoch must be greater than block number
207+
/// @notice 2. toEpoch must be less than block number
208208
/// @notice 3. toEpoch must be greater than the activation epoch
209209
/// @param fromEpoch The starting epoch (exclusive)
210210
/// @param toEpoch The ending epoch (inclusive)

service_contracts/src/FilecoinWarmStorageService.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,6 @@ contract FilecoinWarmStorageService is
15031503
}
15041504
uint256 currentPeriod = getProvingPeriodForEpoch(dataSetId, block.number);
15051505

1506-
// if `toEpoch` lies after activation, and `fromEpoch` lies before activation, then update the `fromEpoch`, as follows :
15071506
if (fromEpoch < activationEpoch - 1) {
15081507
fromEpoch = activationEpoch - 1;
15091508
}

0 commit comments

Comments
 (0)