Multiple calculations and parameter usage errors in the lend function for swivel #43
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate
This issue or pull request already exists
Lines of code
https://github.com/code-423n4/2022-06-illuminate/blob/92cbb0724e594ce025d6b6ed050d3548a38c264b/lender/Lender.sol#L294-L295
Vulnerability details
Impact
Multiple calculations and parameter usage errors in the lend function for swivel
Proof of Concept
https://github.com/code-423n4/2022-06-illuminate/blob/92cbb0724e594ce025d6b6ed050d3548a38c264b/lender/Lender.sol#L294-L295
Tools Used
None
Recommended Mitigation Steps
Rewrite the lend function for swivel as follows
The text was updated successfully, but these errors were encountered: