Skip to content

Commit

Permalink
Merge 1fc54c1 into 40030c4
Browse files Browse the repository at this point in the history
  • Loading branch information
aodhgan committed May 14, 2021
2 parents 40030c4 + 1fc54c1 commit a170b13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/PrizeStrategyUpkeep.sol
Expand Up @@ -61,6 +61,10 @@ contract PrizeStrategyUpkeep is KeeperCompatibleInterface, Ownable {
/// @return upkeepNeeded as true if performUpkeep() needs to be called, false otherwise. performData returned empty.
function checkUpkeep(bytes calldata checkData) external view override returns (bool upkeepNeeded, bytes memory performData) {

if(block.number < upkeepLastUpkeepBlockNumber + upkeepMinimumBlockInterval){
return (false, performData);
}

address[] memory prizePools = prizePoolRegistry.getAddresses();

// check if canStartAward()
Expand Down

0 comments on commit a170b13

Please sign in to comment.