diff options
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/order_factory.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts index 359168ff9..0f370ed34 100644 --- a/test/utils/order_factory.ts +++ b/test/utils/order_factory.ts @@ -15,9 +15,9 @@ export const orderFactory = { takerTokenAmount: BigNumber.BigNumber|number, takerTokenAddress: string, expirationUnixTimestampSec?: BigNumber.BigNumber): Promise<SignedOrder> { - const INF_TIMESTAMP = new BigNumber(2524604400); + const defaultExpirationUnixTimestampSec = new BigNumber(2524604400); // Close to infinite expirationUnixTimestampSec = _.isUndefined(expirationUnixTimestampSec) ? - INF_TIMESTAMP : + defaultExpirationUnixTimestampSec : expirationUnixTimestampSec; const order = { maker, |