From fc6a6024b5a07f131fc3008b4929b3e24865f748 Mon Sep 17 00:00:00 2001 From: Chef Snoopy Date: Fri, 8 Nov 2024 11:30:38 +0800 Subject: [PATCH] feat: Remove unused _getPool function --- src/pool-bin/BinPoolManager.sol | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pool-bin/BinPoolManager.sol b/src/pool-bin/BinPoolManager.sol index c018d01..1f77e0f 100644 --- a/src/pool-bin/BinPoolManager.sol +++ b/src/pool-bin/BinPoolManager.sol @@ -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;