diff options
author | Fabio Berger <me@fabioberger.com> | 2018-11-12 17:22:03 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-11-12 17:22:03 +0800 |
commit | 8aeb18bcc3d10dbc7610d597d98a4ad26131cf78 (patch) | |
tree | 8b0c54a043caf0f7b5dfe01a6d960394e4033160 /packages | |
parent | d3592d362e243fb5c320125ed18df34858b6db72 (diff) | |
download | dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.gz dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.bz2 dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.lz dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.xz dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.zst dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.zip |
rename param
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contracts/test/utils/exchange_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/utils/exchange_wrapper.ts b/packages/contracts/test/utils/exchange_wrapper.ts index cfff682e1..52322d5c4 100644 --- a/packages/contracts/test/utils/exchange_wrapper.ts +++ b/packages/contracts/test/utils/exchange_wrapper.ts @@ -219,8 +219,8 @@ export class ExchangeWrapper { const isCancelled = await this._exchange.cancelled.callAsync(orderHashHex); return isCancelled; } - public async getOrderEpochAsync(makerAddress: string, takerAddress: string): Promise<BigNumber> { - const orderEpoch = new BigNumber(await this._exchange.orderEpoch.callAsync(makerAddress, takerAddress)); + public async getOrderEpochAsync(makerAddress: string, senderAddress: string): Promise<BigNumber> { + const orderEpoch = new BigNumber(await this._exchange.orderEpoch.callAsync(makerAddress, senderAddress)); return orderEpoch; } public async getOrderInfoAsync(signedOrder: SignedOrder): Promise<OrderInfo> { |