Check whether the value of outstandingLoans has been modified, which could potentially lead to a transaction revert
1.user retrieve pool information like outstandingLoans from blockchain storage when modify pool balance.
2.user invoke setPool function use the above pool information.
But between step1 and step2 outstandingLoans may have changed due to actions such as repay.The whole transaction will be revert since:
whole create new pool or modify pool balance transaction revert because of outstandingLoans been modified by repay or other action.
manual
As outstandingLoans cannot be modified directly, we can set p.outstandingLoans to the current correct data directly.
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.