Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Aug 5, 2023
1 parent f865627 commit 82ffeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/templates/ERC20Template3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ contract ERC20Template3 is
_checkUserAuthorization(_userAuth);
require(isValidSubscription(_userAuth.userAddress), "No subscription");
require(toEpochStart(epoch_start) == epoch_start, "invalid epoch");
require(soonestEpochToPredict(epoch_start) != epoch_start, "predictions not closed")
require(soonestEpochToPredict(block.timestamp) < epoch_start, "predictions not closed")
return (roundSumStakesUp[epoch_start], roundSumStakes[epoch_start]);
}

Expand Down

0 comments on commit 82ffeca

Please sign in to comment.