Renamed all instances of timestamp to salt. Clarified test case wording.

This commit is contained in:
Greg Hysen
2018-03-19 10:56:21 -07:00
committed by Amir Bandeali
parent bf3c4f4743
commit 1efba5979f
3 changed files with 18 additions and 18 deletions

View File

@@ -168,11 +168,11 @@ export class ExchangeWrapper {
return tx;
}
public async cancelOrdersBeforeAsync(
timestamp: BigNumber,
salt: BigNumber,
from: string,
): Promise<TransactionReceiptWithDecodedLogs> {
const txHash = await this._exchange.cancelOrdersBefore.sendTransactionAsync(
timestamp,
salt,
{ from },
);
const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash);

View File

@@ -29,7 +29,7 @@ export interface BatchCancelOrders {
}
export interface CancelOrdersBefore {
timestamp: BigNumber;
salt: BigNumber;
}
export interface DefaultOrderParams {