Skip to content

Commit

Permalink
feat: Remove unused _getPool function
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefSnoopy committed Nov 8, 2024
1 parent b186a69 commit fc6a602
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pool-bin/BinPoolManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ contract BinPoolManager is IBinPoolManager, ProtocolFees, Extsload {
_;
}

function _getPool(PoolKey memory key) private view returns (BinPool.State storage) {
return pools[key.toId()];
}

/// @inheritdoc IBinPoolManager
function getSlot0(PoolId id) external view override returns (uint24 activeId, uint24 protocolFee, uint24 lpFee) {
BinSlot0 slot0 = pools[id].slot0;
Expand Down

0 comments on commit fc6a602

Please sign in to comment.