Skip to content

Commit

Permalink
fix: fixed tvl for curve lite
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorovdg committed Nov 20, 2024
1 parent 2c6526e commit 26710c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,6 @@ const _getNetworkName = (network: INetworkName | IChainId = curve.chainId): INet
}

export const getTVL = async (network: INetworkName | IChainId = curve.chainId): Promise<number> => {
if(curve.isLiteChain) {
throw Error('This method is not supported for the lite version')
}

network = _getNetworkName(network);
const allTypesExtendedPoolData = await _getAllPoolsFromApi(network);

Expand Down

0 comments on commit 26710c3

Please sign in to comment.