diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-01 23:52:31 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-01 23:52:31 +0800 |
commit | 19e922724e963950c97c009def39019b382fb516 (patch) | |
tree | 5728731bda6feac4b340508d34ebc8aea77cb1b1 /test | |
parent | aef3ed9fd7e1d8c72a02bb2eec970597cb353a4d (diff) | |
download | dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar.gz dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar.bz2 dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar.lz dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar.xz dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.tar.zst dexon-0x-contracts-19e922724e963950c97c009def39019b382fb516.zip |
rename variable
Diffstat (limited to 'test')
-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, |