Submitted by hansfriese, also found by 0xf15ers
https://github.com/Plex-Engineer/lending-market/blob/ab31a612be354e252d72faead63d86b844172761/contracts/WETH.sol#L104
WETH.allowance() returns wrong result.
I cant find other contracts that use this function but WETH.sol is a base contract and it should be fixed properly.
In this function, the return keyword is missing and it will always output 0 in this case.
Solidity Visual Developer of VSCode
L104 should be changed like below.
nivasan1 (Canto) confirmed
Alex the Entreprenerd (judge) increased severity to High and commented:
