diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-25 20:07:14 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-25 20:07:14 +0800 |
commit | 977d55c61b9ba8979e0846a780cd8020c821df9b (patch) | |
tree | a4c7c16da62f7c3aed4321927d8ef16fc5d23eeb /packages/website/ts/blockchain.ts | |
parent | fc3acec669f21b8c5bcb5e3d4f712c2adaf2cf64 (diff) | |
parent | 78ef98c27ce954f7e46b261b0809ff9d8d70519b (diff) | |
download | dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.gz dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.bz2 dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.lz dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.xz dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.zst dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.zip |
merge development
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 2 |
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; } |