diff --git a/markets/bfp-market/contracts/storage/Position.sol b/markets/bfp-market/contracts/storage/Position.sol index 39523ba462..41ae2f3fba 100644 --- a/markets/bfp-market/contracts/storage/Position.sol +++ b/markets/bfp-market/contracts/storage/Position.sol @@ -512,14 +512,10 @@ library Position { globalConfig ); - uint256 liqKeeperFee = getLiquidationKeeperFee( - absSize, - ethPrice, - marketConfig, - globalConfig - ); + uint256 marginAdjustment = marketConfig.minMarginUsd + + liqFlagReward + + globalConfig.maxKeeperFeeUsd; - uint256 marginAdjustment = marketConfig.minMarginUsd + liqFlagReward + liqKeeperFee; im = notional.mulDecimal(imr) + marginAdjustment; mm = notional.mulDecimal(mmr) + marginAdjustment; }