Last line of liquidate(), _revertIfHealthFactorIsBroken(msg.sender);
can simply be bypassed.
Anyone can simply make an account and bypass _revertIfHealthFactorIsBroken(msg.sender);
. Since _revertIfHealthFactorIsBroken(msg.sender);
does not revert when it does not have DSC minted.
vscode
make only user who provided collateral can liquidate other user.
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.