fix signLockOrder

This commit is contained in:
TheJuze
2024-01-24 15:01:14 +03:00
parent c6be1c73c3
commit e815373b0b
7 changed files with 8 additions and 10 deletions

View File

@@ -56,7 +56,6 @@ export const signOrder = async (
expiration,
...(isCrossChain
? {
secretHash,
targetChainId
}
: {}),
@@ -79,7 +78,7 @@ export const signOrder = async (
...order,
id: hashOrder(order),
signature: fixedSignature,
...(isCrossChain ? { secret } : {})
...(isCrossChain ? { secret, secretHash } : {})
};
return signedOrder;
};