Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Dec 22, 2024
1 parent c81bbce commit 6721162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ const fixBalancesTokens = {
elys: {
'uelys': { coingeckoId: 'elys-network', decimals: 6 },
},
wc: {
[ADDRESSES.null]: { coingeckoId: 'ethereum', decimals: 18 },
},
}

ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })
Expand Down
2 changes: 1 addition & 1 deletion utils/handleError.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getStackMessage(stack) {
if (!stack) return []
if (/ at (checkExportKeys)/.test(stack)) return []

const isNodeMolule = m => /node_modules/.test(m)
const isNodeMolule = m => /node_modules/.test(m) && !/defillama/.test(m)
const isNotLoggerMessage = m => !/log/.test(m)
const isNotInternalMessage = m => !/node:internal/.test(m)

Expand Down

0 comments on commit 6721162

Please sign in to comment.