aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-18 19:55:31 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-18 19:55:31 +0800
commite46807c28b0c915130b1b5e49d1c9f39f12751ae (patch)
tree5292404cf5a0fd3ed73e86265e605ee6e715d8f3 /packages/website/ts/blockchain.ts
parent074082ec945b89dba14315a5c9d715e77724566b (diff)
downloaddexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar.gz
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar.bz2
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar.lz
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar.xz
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.tar.zst
dexon-sol-tools-e46807c28b0c915130b1b5e49d1c9f39f12751ae.zip
Fix order creation and fill flow in Portal
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;
}