Skip to content

Commit

Permalink
I-06
Browse files Browse the repository at this point in the history
  • Loading branch information
jtfirek committed Sep 19, 2024
1 parent 33de838 commit 9d220ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WithdrawRequestNFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ contract WithdrawRequestNFT is ERC721Upgradeable, UUPSUpgradeable, OwnableUpgrad
/// `checkpointIndex` can be found using `findCheckpointIndex()` function
/// @return uint256 the amount of ETH that can be claimed by the owner of the NFT
function getClaimableAmount(uint32 requestId, uint32 checkpointIndex) public view returns (uint256) {
require(requestId <= lastFinalizedRequestId, "Request is not finalized");
require(isFinalized(tokenId), "Request is not finalized");
require(requestId < nextRequestId, "Request does not exist");
require(ownerOf(requestId) != address(0), "Already claimed");

Expand Down

0 comments on commit 9d220ab

Please sign in to comment.