aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/exchange_wrapper.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-03 06:28:56 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit7a66da5a51603d4d87d644f3635f8c7f1d00bb36 (patch)
treea633cb75b01eec7a0ea49078ddd412720c6807d3 /packages/contracts/src/utils/exchange_wrapper.ts
parent3541f5e1dac692fa12fafd4822dc98aa7afe5c1c (diff)
downloaddexon-sol-tools-7a66da5a51603d4d87d644f3635f8c7f1d00bb36.tar.gz
dexon-sol-tools-7a66da5a51603d4d87d644f3635f8c7f1d00bb36.tar.zst
dexon-sol-tools-7a66da5a51603d4d87d644f3635f8c7f1d00bb36.zip
Fix build errors
Diffstat (limited to 'packages/contracts/src/utils/exchange_wrapper.ts')
-rw-r--r--packages/contracts/src/utils/exchange_wrapper.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/contracts/src/utils/exchange_wrapper.ts b/packages/contracts/src/utils/exchange_wrapper.ts
index bbe9a1baf..179fe44a5 100644
--- a/packages/contracts/src/utils/exchange_wrapper.ts
+++ b/packages/contracts/src/utils/exchange_wrapper.ts
@@ -154,14 +154,8 @@ export class ExchangeWrapper {
const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash);
return tx;
}
- public async cancelOrdersUpToAsync(
- salt: BigNumber,
- from: string,
- ): Promise<TransactionReceiptWithDecodedLogs> {
- const txHash = await this._exchange.cancelOrdersUpTo.sendTransactionAsync(
- salt,
- { from },
- );
+ public async cancelOrdersUpToAsync(salt: BigNumber, from: string): Promise<TransactionReceiptWithDecodedLogs> {
+ const txHash = await this._exchange.cancelOrdersUpTo.sendTransactionAsync(salt, { from });
const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash);
return tx;
}