Add to orderTypedData comment
This commit is contained in:
parent
efd5eff22c
commit
a2d105593e
@ -64,7 +64,7 @@ export const eip712Utils = {
|
|||||||
verifyingContract: order.exchangeAddress,
|
verifyingContract: order.exchangeAddress,
|
||||||
};
|
};
|
||||||
// Since we are passing in the EXCHANGE_ORDER_SCHEMA
|
// Since we are passing in the EXCHANGE_ORDER_SCHEMA
|
||||||
// order paramaters that are not in there get ignored
|
// order paramaters that are not in there get ignored at hashing time
|
||||||
const typedData = eip712Utils.createTypedData(
|
const typedData = eip712Utils.createTypedData(
|
||||||
constants.EXCHANGE_ORDER_SCHEMA.name,
|
constants.EXCHANGE_ORDER_SCHEMA.name,
|
||||||
{ Order: constants.EXCHANGE_ORDER_SCHEMA.parameters },
|
{ Order: constants.EXCHANGE_ORDER_SCHEMA.parameters },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user