Skip to content

Commit

Permalink
Fix: WhiteWhale-dex (outdated) (#11680)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Sep 20, 2024
1 parent 203791b commit 9527e36
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions projects/whitewhale-dex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
})

0 comments on commit 9527e36

Please sign in to comment.