which is the opposite of what is stated in the natspec and hence doesnt actially run when the totalDebt is greater than balance which is what it is supposed to do
manual analysis
The function should be rewritten using
if (snapshotDebtScaled + _ongoingDebtScaledOf(streamId) <= balanceScaled + oneMVTScaled) {
return 0;
}
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.