aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/order_factory.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-25 02:24:55 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-27 01:33:37 +0800
commit0e0a46f373e076843fd4118cdafb325fb754141a (patch)
tree65c012961c6fa72dd258a2e0e0e671a0a6dc64a6 /packages/contracts/src/utils/order_factory.ts
parent732202fe8e4f3eb1847515a0c3f8f2d068d35baf (diff)
downloaddexon-0x-contracts-0e0a46f373e076843fd4118cdafb325fb754141a.tar.gz
dexon-0x-contracts-0e0a46f373e076843fd4118cdafb325fb754141a.tar.zst
dexon-0x-contracts-0e0a46f373e076843fd4118cdafb325fb754141a.zip
Update tests and utils
Diffstat (limited to 'packages/contracts/src/utils/order_factory.ts')
-rw-r--r--packages/contracts/src/utils/order_factory.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/order_factory.ts b/packages/contracts/src/utils/order_factory.ts
index 08853054d..044e9b865 100644
--- a/packages/contracts/src/utils/order_factory.ts
+++ b/packages/contracts/src/utils/order_factory.ts
@@ -19,6 +19,7 @@ export class OrderFactory {
): SignedOrder {
const randomExpiration = new BigNumber(Math.floor((Date.now() + Math.random() * 100000000000) / 1000));
const order = ({
+ senderAddress: ZeroEx.NULL_ADDRESS,
expirationTimeSeconds: randomExpiration,
salt: ZeroEx.generatePseudoRandomSalt(),
takerAddress: ZeroEx.NULL_ADDRESS,