update orderTypes.ts

This commit is contained in:
TheJuze
2024-05-29 10:37:18 +03:00
parent 677f99a2ff
commit 0c99c52d69
4 changed files with 21 additions and 9 deletions

View File

@@ -98,7 +98,7 @@ export const signOrder = async ({
)));
const crossChainOrder = {
limitOrder: limitOrderHash,
limitOrder: order,
chainId: Number(chainId),
secretHash,
lockOrderExpiration: expiration // TODO: change to fillAndLockAtomic data
@@ -115,8 +115,7 @@ export const signOrder = async ({
getDomainData(chainId),
ORDER_TYPES,
{
order,
...crossChainOrder,
crossChainOrder,
}
);