We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c318c0a commit fe1acbcCopy full SHA for fe1acbc
src/UsageValidator.sol
@@ -46,7 +46,7 @@ contract UsageValidator is IValidator {
46
) external override returns (ValidationResult memory result) {
47
bytes32 key = _railKey(railId);
48
uint256 sum = 0;
49
- uint256 lastEpochWithData = fromEpoch - 1;
+ uint256 lastEpochWithData = 0;
50
bool foundData = false;
51
52
for (uint256 epoch = fromEpoch; epoch <= toEpoch; epoch++) {
0 commit comments