update signOrder function

This commit is contained in:
TheJuze
2024-05-21 17:40:45 +03:00
parent 29150c20d3
commit b1ea82e31f
3 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ export const signOrder = async ({
const secret = generateSecret();
const secretHash = ethers.keccak256(secret);
const isCrossChain = targetChainId === undefined || targetChainId === chainId;
const isCrossChain = targetChainId === undefined || targetChainId !== chainId;
const order: Order | CrossOrder = {
senderAddress,