aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 5d7521e89..a324b8554 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -669,7 +669,7 @@ export class ExchangeWrapper extends ContractWrapper {
);
const wouldRoundingErrorOccur = await this._isRoundingErrorAsync(
- signedOrder.takerTokenAmount, fillTakerAmount, signedOrder.makerTokenAmount,
+ fillTakerAmount, signedOrder.takerTokenAmount, signedOrder.makerTokenAmount,
);
if (wouldRoundingErrorOccur) {
throw new Error(ExchangeContractErrs.OrderFillRoundingError);
@@ -713,7 +713,7 @@ export class ExchangeWrapper extends ContractWrapper {
makerTokenAmount: BigNumber.BigNumber): Promise<boolean> {
const exchangeInstance = await this._getExchangeContractAsync();
const isRoundingError = await exchangeInstance.isRoundingError.call(
- demoninator, numerator, makerTokenAmount,
+ numerator, demoninator, makerTokenAmount,
);
return isRoundingError;
}