In the Thunderloan.sol contract user can deposit the allowed tokens and and can mint the assetTokens in return.But if a first user who deposit the tokens and tried to redem the tokens right after the deposit it fails because the minted tokens for the first person is in the ratio of 1:1 and the the exchange rate will be increased making the user to reedem more tokens than deposited.
But the contract didn't have sufficient amount to transfer the tokens to the user making the function fails.
So protocol fails to gains interset if there is no one taking flash loans but it is increasing interests irrespective of flash loans.
High
Manual Review
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.