Skip to content

Commit

Permalink
feat: potential reentrancy fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandr-masl committed Sep 19, 2024
1 parent b5dc054 commit 07fc15d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ contract UbiquityPoolSecurityMonitor is Initializable, UUPSUpgradeable {
.div(liquidityVertex);

if (liquidityDiffPercentage >= thresholdPercentage) {
monitorPaused = true;
// TODO: Pause the UbiquityDollarToken

// Pause LibUbiquityPool by disabling collateral
_pauseLibUbiquityPool();

monitorPaused = true;
emit MonitorPaused(
currentCollateralLiquidity,
liquidityDiffPercentage
Expand Down

0 comments on commit 07fc15d

Please sign in to comment.