Skip to content

Commit

Permalink
Update pkg/pool-weighted/contracts/WeightedPool.sol
Browse files Browse the repository at this point in the history
Co-authored-by: EndymionJkb <[email protected]>
  • Loading branch information
jubeira and EndymionJkb authored Mar 4, 2024
1 parent 00310a4 commit 8c5eb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pool-weighted/contracts/WeightedPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ contract WeightedPool is BaseWeightedPool, WeightedPoolProtocolFees, CustomFeeAu
}

function setSwapFeePercentage(uint256 swapFeePercentage) public virtual override whenNotPaused {
// here msg.sender is used as this function directlly be called by the admin
// here msg.sender is used, as this function can be called directly by the admin
// not via any other contract
if (isCustomFeeEnabled()) {
require(solver == msg.sender, "CALLER_IS_NOT_SOLVER");
Expand Down

0 comments on commit 8c5eb7e

Please sign in to comment.