Skip to content

Commit

Permalink
remove unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
hensha256 committed May 16, 2024
1 parent 7d97026 commit 4a226a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .forge-snapshots/initialize.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
62202
62194
2 changes: 1 addition & 1 deletion .forge-snapshots/poolManager bytecode size.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22099
22097
6 changes: 3 additions & 3 deletions src/libraries/LPFeeLibrary.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ library LPFeeLibrary {
if (self > MAX_LP_FEE) revert FeeTooLarge();
}

function getInitialLPFee(uint24 self) internal pure returns (uint24 lpFee) {
function getInitialLPFee(uint24 self) internal pure returns (uint24) {
// the initial fee for a dynamic fee pool is 0
if (self.isDynamicFee()) return 0;
lpFee = self & STATIC_FEE_MASK;
lpFee.validate();
self.validate();
return self;
}
}

0 comments on commit 4a226a7

Please sign in to comment.