aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-25 01:30:37 +0800
committerF. Eugene Aumson <feuGeneA@users.noreply.github.com>2018-09-25 01:30:37 +0800
commit2116548eed666c3c61277f17e996fee720301f31 (patch)
tree6f4b601b59659ac9134ffe4efed79c8a8a2750e0 /packages/website/ts/blockchain.ts
parent57fca16d7b1dc61c060c90fa440b1dc947aefb93 (diff)
parentb830c28d83a33c0170d4f150ee287ea97ccf7865 (diff)
downloaddexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar.gz
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar.bz2
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar.lz
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar.xz
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.tar.zst
dexon-sol-tools-2116548eed666c3c61277f17e996fee720301f31.zip
Merge remote-tracking branch 'upstream/development' into sol-doc
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index d3f2f3f7b..632a63016 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -228,7 +228,7 @@ export class Blockchain {
const tokenSymbolToAddressOverrides = tokenAddressOverrides[this.networkId];
let isTokenAddressInOverrides = false;
if (!_.isUndefined(tokenSymbolToAddressOverrides)) {
- isTokenAddressInOverrides = _.keys(tokenSymbolToAddressOverrides).includes(tokenAddress);
+ isTokenAddressInOverrides = _.values(tokenSymbolToAddressOverrides).includes(tokenAddress);
}
return !_.isUndefined(tokenIfExists) || isTokenAddressInOverrides;
}