Renamed all instances of timestamp to salt. Clarified test case wording.
This commit is contained in:
committed by
Amir Bandeali
parent
bf3c4f4743
commit
1efba5979f
@@ -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);
|
||||
|
@@ -29,7 +29,7 @@ export interface BatchCancelOrders {
|
||||
}
|
||||
|
||||
export interface CancelOrdersBefore {
|
||||
timestamp: BigNumber;
|
||||
salt: BigNumber;
|
||||
}
|
||||
|
||||
export interface DefaultOrderParams {
|
||||
|
Reference in New Issue
Block a user