aboutsummaryrefslogtreecommitdiffstats
path: root/packages/fill-scenarios
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-06-08 04:46:54 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-06-08 06:39:40 +0800
commit8ace41d14473462dda297d4dd970b095e747e2b0 (patch)
tree9a78dc3eac8267bbaad1632b506d2fe1e96bc724 /packages/fill-scenarios
parent5bb7219f4b8d5ce22169d5139bd1c07d7b2fcafd (diff)
downloaddexon-0x-contracts-8ace41d14473462dda297d4dd970b095e747e2b0.tar.gz
dexon-0x-contracts-8ace41d14473462dda297d4dd970b095e747e2b0.tar.zst
dexon-0x-contracts-8ace41d14473462dda297d4dd970b095e747e2b0.zip
Minor fixes after rebase
Diffstat (limited to 'packages/fill-scenarios')
-rw-r--r--packages/fill-scenarios/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/fill-scenarios/src/index.ts b/packages/fill-scenarios/src/index.ts
index dc877a0fd..038826af2 100644
--- a/packages/fill-scenarios/src/index.ts
+++ b/packages/fill-scenarios/src/index.ts
@@ -169,10 +169,10 @@ export class FillScenarios {
feeRecepientAddress: string,
expirationTimeSeconds?: BigNumber,
): Promise<SignedOrder> {
- const makerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(makerAssetData);
- const makerTokenAddress = makerERC20ProxyData.tokenAddress;
- const takerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(takerAssetData);
- const takerTokenAddress = takerERC20ProxyData.tokenAddress;
+ const makerERC20AssetData = assetProxyUtils.decodeERC20AssetData(makerAssetData);
+ const makerTokenAddress = makerERC20AssetData.tokenAddress;
+ const takerERC20AssetData = assetProxyUtils.decodeERC20AssetData(takerAssetData);
+ const takerTokenAddress = takerERC20AssetData.tokenAddress;
await Promise.all([
this._increaseERC20BalanceAndAllowanceAsync(makerTokenAddress, makerAddress, makerFillableAmount),
this._increaseERC20BalanceAndAllowanceAsync(takerTokenAddress, takerAddress, takerFillableAmount),