Lending pools with the same
tokens can be created
by calling Lender.setPool()
During pool creation setPool()
is called but this function has no checks stopping the same token from being used as the lending and collateral token. This can be catastrophic because there is no point in the creation of pools with the same tokens.
This goes against the intentions of the developers as it breaks
the concept of a lending pool
and has other unexpected consequences
Manual Review
Checks should be added to prevent
the same tokens from being used
.
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.