Throughout the contract when you want to refer to the collateral token address variable, it is referred to as tokenCollateralAddress and only in the liquidate function is it referred to as collateral.
Low
Manual code review
It is recommended to replace this value with the tokenCollateralAddress to avoid confusion or doubt if the same value is being referenced.
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.