auctionLength
is not updated ub giveLoan
and buyLoan
methods.
The action length is not updated in the give loan and buy loan methods.
This will cause inconsistency as the loan is moved between the pools. The loan's auction length will not match the pools' auction length after the loan is moved from one pool ao the other.
Link to code - https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol
Manual Code Review by SolSaver
Update the methods to set auctionLength
to the pool's value as well.
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.