Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

LendingPool.sol::initiateLiquidation() reverts with HealthFactorTooLow() when it should revert with HealthFactorTooHigh(), misleading the end user.

Summary

When a user tries to liquidate other user, initiateLiquidation() function reverts with HealthFactorTooLow() when the healthFactor is too high. This is misleading to the users.

Vulnerability Details

Incorrect user, frontend and off-chain interpretations. The error is reporting confusing data.

Impact

Wrong revert information is being provided to the end user.

Tools Used

Manual

Recommendations

Create a new error HealthFactorTooHigh() instead of HealthFactorTooLow()

Updates

Lead Judging Commences

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.