Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
asselstine committed Oct 14, 2021
1 parent c6bdd68 commit 1a62444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/prize-pool/PrizePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ abstract contract PrizePool is IPrizePool, Ownable, ReentrancyGuard, IERC721Rece
uint256 currentAwardBalance = _currentAwardBalance;

require(_amount <= currentAwardBalance, "PrizePool/award-exceeds-avail");

unchecked {
_currentAwardBalance = currentAwardBalance - _amount;
}
Expand Down

0 comments on commit 1a62444

Please sign in to comment.