@@ -288,8 +288,7 @@ contract PMRM_2 is IPMRM_2, ILiquidatableManager, BaseManagerUpgradeable, Reentr
288288 portfolio.expiries = new ExpiryHoldings [](seenExpiries);
289289 portfolio.collaterals = new CollateralHoldings [](collateralCount);
290290 (portfolio.spotPrice, portfolio.minConfidence) = spotFeed.getSpot ();
291- (uint stablePrice ,) = stableFeed.getSpot ();
292- portfolio.stablePrice = stablePrice;
291+ (portfolio.stablePrice,) = stableFeed.getSpot ();
293292
294293 _initialiseExpiries (portfolio, expiryCount);
295294 _arrangeAssets (accountId, portfolio, assets, collateralCount, expiryCount);
@@ -356,7 +355,7 @@ contract PMRM_2 is IPMRM_2, ILiquidatableManager, BaseManagerUpgradeable, Reentr
356355 // We assume the rate is always positive.
357356 rate = SignedMath.max (rate, 0 );
358357
359- // We dont compare this to the portfolio.minConfidence yet - we do that in preComputes
358+ // We don't compare this to the portfolio.minConfidence yet - we do that in preComputes
360359 uint minConfidence = Math.min (fwdConfidence, rateConfidence);
361360
362361 // if an option expired, also set secToExpiry to 0
@@ -479,7 +478,7 @@ contract PMRM_2 is IPMRM_2, ILiquidatableManager, BaseManagerUpgradeable, Reentr
479478 }
480479
481480 /**
482- * @notice Can be called by anyone to settle a perp asset in an account
481+ * @notice Can be called by anyone to settle an option asset in an account
483482 */
484483 function settleOptions (IOptionAsset _option , uint accountId ) external {
485484 require (_option == option, PMRM_2_UnsupportedAsset ());
0 commit comments