aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-12 17:22:03 +0800
committerFabio Berger <me@fabioberger.com>2018-11-12 17:22:03 +0800
commit8aeb18bcc3d10dbc7610d597d98a4ad26131cf78 (patch)
tree8b0c54a043caf0f7b5dfe01a6d960394e4033160 /packages/contracts
parentd3592d362e243fb5c320125ed18df34858b6db72 (diff)
downloaddexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.gz
dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.tar.zst
dexon-0x-contracts-8aeb18bcc3d10dbc7610d597d98a4ad26131cf78.zip
rename param
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/test/utils/exchange_wrapper.ts4
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> {