mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-01 02:27:56 +03:00
update signOrder function
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user