Skip to content

Commit

Permalink
fix: remove extra check
Browse files Browse the repository at this point in the history
Co-authored-by: FP <[email protected]>
  • Loading branch information
Schlagonia and fp-crypto authored Feb 20, 2024
1 parent 19fc831 commit 33b97d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auctions/Auction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ contract Auction is Governance, ReentrancyGuard {
uint256 _available,
uint256 _timestamp
) internal view virtual returns (uint256) {
if (_kicked == 0 || _available == 0) return 0;
if (_available == 0) return 0;

uint256 secondsElapsed = _timestamp - _kicked;

Expand Down

0 comments on commit 33b97d9

Please sign in to comment.