Skip to content

Commit

Permalink
fix: rm condition
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed May 3, 2024
1 parent 4116c3c commit 69a044e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/AvailWithdrawalHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ contract AvailWithdrawalHelper is ERC721Upgradeable, Ownable2StepUpgradeable, IA
/// @dev Reverts if till is less than or equal to lastFulfillment
/// @param till Token ID to iterate till
function previewFulfill(uint256 till) public view returns (uint256 amount) {
if (till <= lastFulfillment) revert InvalidFulfillment();
return withdrawals[till].accAmount - withdrawals[lastFulfillment].accAmount;
}

Expand Down

0 comments on commit 69a044e

Please sign in to comment.