diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-03 00:06:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-03 00:06:06 +0800 |
commit | 45fadeb690e27acccc776515ada8d39e3633194a (patch) | |
tree | af17f7b233c989d4a89275ce20a75be5b2495f0b | |
parent | 89d93494788f06d227628dfcfbd712e26ef02b77 (diff) | |
download | dexon-0x-contracts-45fadeb690e27acccc776515ada8d39e3633194a.tar.gz dexon-0x-contracts-45fadeb690e27acccc776515ada8d39e3633194a.tar.zst dexon-0x-contracts-45fadeb690e27acccc776515ada8d39e3633194a.zip |
Allign arguments
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index ba3b05758..55ddcc46a 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -161,12 +161,12 @@ export class ExchangeWrapper extends ContractWrapper { zrxTokenAddress: string): Promise<void> { const makerBalance = await this.tokenWrapper.getBalanceAsync(signedOrder.makerTokenAddress, - signedOrder.maker); + signedOrder.maker); const takerBalance = await this.tokenWrapper.getBalanceAsync(signedOrder.takerTokenAddress, senderAddress); const makerAllowance = await this.tokenWrapper.getProxyAllowanceAsync(signedOrder.makerTokenAddress, - signedOrder.maker); + signedOrder.maker); const takerAllowance = await this.tokenWrapper.getProxyAllowanceAsync(signedOrder.takerTokenAddress, - senderAddress); + senderAddress); // How many taker tokens would you get for 1 maker token; const exchangeRate = signedOrder.takerTokenAmount.div(signedOrder.makerTokenAmount); |