From 9527e3628d9fd740790cbefbee549bd0caac7618 Mon Sep 17 00:00:00 2001 From: 0xpeluche <110820448+0xpeluche@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:42:04 +0200 Subject: [PATCH] Fix: WhiteWhale-dex (outdated) (#11680) --- projects/whitewhale-dex/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/whitewhale-dex/index.js b/projects/whitewhale-dex/index.js index 3089d9a942c..5762a195c3c 100644 --- a/projects/whitewhale-dex/index.js +++ b/projects/whitewhale-dex/index.js @@ -21,8 +21,11 @@ module.exports = { ] } - Object.keys(factory).forEach(chain => { const contract = factory[chain] - module.exports[chain] = { tvl: getFactoryTvl(contract) } + if (chain === 'comdex') { + module.exports[chain] = { tvl: () => ({}) } + } else { + module.exports[chain] = { tvl: getFactoryTvl(contract) } + } }) \ No newline at end of file