Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo
  • Loading branch information
toteki authored Feb 14, 2023
commit 2f3ec1166c38b6560963d94ca889319ddded13de
2 changes: 1 addition & 1 deletion x/leverage/keeper/iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (k Keeper) GetEligibleLiquidationTargets(ctx sdk.Context) ([]sdk.AccAddress
borrowValue := k.VisibleTokenValue(ctx, borrowed, types.PriceModeSpot)

// compute liquidation threshold from enabled collateral
// in this case, we can't reasonable skil missing prices but can move on
// in this case, we can't reasonably skip missing prices but can move on
// to the next borrower instead of stopping the entire query
liquidationLimit, err := k.CalculateLiquidationThreshold(ctx, collateral)
if err == nil && liquidationLimit.LT(borrowValue) {
Expand Down