Floor expiration time
This commit is contained in:
@@ -172,7 +172,7 @@ export class Handler {
|
||||
feeRecipientAddress: NULL_ADDRESS,
|
||||
senderAddress: NULL_ADDRESS,
|
||||
// tslint:disable-next-line:custom-no-magic-numbers
|
||||
expirationTimeSeconds: new BigNumber(Date.now() + FIVE_DAYS_IN_MS).div(1000),
|
||||
expirationTimeSeconds: new BigNumber(Date.now() + FIVE_DAYS_IN_MS).div(1000).floor(),
|
||||
};
|
||||
const orderHash = orderHashUtils.getOrderHashHex(order);
|
||||
const signature = await signatureUtils.ecSignOrderHashAsync(
|
||||
|
||||
@@ -38,4 +38,14 @@ export const TOKENS_BY_NETWORK: {
|
||||
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
||||
},
|
||||
},
|
||||
50: {
|
||||
ZRX: {
|
||||
...tokens.ZRX,
|
||||
address: '0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c',
|
||||
},
|
||||
WETH: {
|
||||
...tokens.WETH,
|
||||
address: '0x0b1ba0af832d7c05fd64161e0db78e85978e8082',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user