teller-protocol / teller-protocol-v2-audit-2024

teller-protocol-v2-audit-2024
MIT License
0 stars 0 forks source link

If protocol/liquidations are paused and unpaused, liquidation prices could all be 0 when unpaused #51

Closed ethereumdegen closed 1 week ago

ethereumdegen commented 3 months ago

Describe the bug If protocol/liquidations are paused and unpaused, liquidation prices could all be 0 when unpaused

PROPOSED FIX:

Just in 'liquidateDefaultedLoanWithIncentive' function,the variable 'secondsSinceDefaulted' could also be set by the 'Time Since Liquidations Unpaused' IF that value would be less

ethereumdegen commented 1 week ago

This is fixed !