If the claim function runs out of gas, the caller can never claim any rewards without transferring the nfts to another address first
Currently, the claim function loops over the msg.senders NFT’s. If this list ever becomes too large, the function will run out of gas.
VSCode
Consider implementing pagination for reward claiming.
The text was updated successfully, but these errors were encountered:
All reactions