Add to orderTypedData comment

This commit is contained in:
fragosti 2019-09-27 12:49:01 -07:00
parent efd5eff22c
commit a2d105593e

View File

@ -64,7 +64,7 @@ export const eip712Utils = {
verifyingContract: order.exchangeAddress,
};
// 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(
constants.EXCHANGE_ORDER_SCHEMA.name,
{ Order: constants.EXCHANGE_ORDER_SCHEMA.parameters },