Inside LiquidationPool::claimReward
function users are able to claim their rewards. The rewards could be in ETH or other token supported by protocol, However the Contract does handle a case if user is not able to receive ETH. So this will lead to Dos on claiming the rewards. if such a case occur the users funds will remain stuck in protocol. likelihood on Low and severity in High thats why I have placed this finding in Medium.
The claimRewards
function check if user has rewards in ETH, it tries to send the rewards and check for its status , if status is false it will revert. but there is no other way to allow users to claim their rewards. even the token rewards will not be claimable due to it.
Manual Review
If ETH transfer fail try to send WETH instead of ETH. following changes will be required to handle this case.
also add implementation for WETHMock.sol as follows:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.