When a user logs a claim, depending on if a claim fee is set, a user will have to pay a fee. The function checks if the amount sent by the user is less than the claim fee, however it doesn't account for cases where a user sends more than the required fee.
A user who sends more than the claimFee for any reason will lose his funds, which is not acceptable.
Github username: -- Submission hash (on-chain): 0x45ccfbcddc569eb31c09a0c54b347e101d5783bd8cae7b7c8199ac991407331d Severity: low
Description: Description
When a user logs a claim, depending on if a claim fee is set, a user will have to pay a fee. The function checks if the amount sent by the user is less than the claim fee, however it doesn't account for cases where a user sends more than the required fee.
A user who sends more than the claimFee for any reason will lose his funds, which is not acceptable.
Attachments
HatsVaultsRegistry
change the check;