aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-01 22:30:06 +0800
committerFabio Berger <me@fabioberger.com>2017-06-01 22:30:06 +0800
commitfe025506c97da7d1d32fae0973624d49470340b9 (patch)
treeea2292a4735aa279af29d919d9bec247be9da26e /src
parentf756e1d24e4a27b4e0ce8078884408a321fe2d28 (diff)
downloaddexon-0x-contracts-fe025506c97da7d1d32fae0973624d49470340b9.tar.gz
dexon-0x-contracts-fe025506c97da7d1d32fae0973624d49470340b9.tar.zst
dexon-0x-contracts-fe025506c97da7d1d32fae0973624d49470340b9.zip
remove unused arg
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 39b6d27b4..0712dd34a 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -117,8 +117,7 @@ export class ExchangeWrapper extends ContractWrapper {
);
this.throwErrorLogsAsErrors(response.logs);
}
- private validateFillOrder(signedOrder: SignedOrder, fillAmount: BigNumber.BigNumber, senderAddress: string,
- shouldCheckTransfer: boolean = true) {
+ private validateFillOrder(signedOrder: SignedOrder, fillAmount: BigNumber.BigNumber, senderAddress: string) {
if (fillAmount.eq(0)) {
throw new Error(FillOrderValidationErrs.FILL_AMOUNT_IS_ZERO);
}