Skip to content

Commit

Permalink
move event inside if clause
Browse files Browse the repository at this point in the history
  • Loading branch information
rustboyar committed May 24, 2024
1 parent ba1442d commit 256161a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/contracts/protocol/pool/PoolConfigurator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ abstract contract PoolConfigurator is VersionedInitializable, IPoolConfigurator

if (currentConfig.getFrozen()) {
_pendingLtv[asset] = ltv;
emit PendingLtvChanged(asset, ltv);
}

currentConfig.setLtv(ltv);
Expand All @@ -174,7 +175,6 @@ abstract contract PoolConfigurator is VersionedInitializable, IPoolConfigurator

_pool.setConfiguration(asset, currentConfig);

emit PendingLtvChanged(asset, ltv);
emit CollateralConfigurationChanged(asset, ltv, liquidationThreshold, liquidationBonus);
}

Expand Down

0 comments on commit 256161a

Please sign in to comment.