Fix isReversedOrder

This commit is contained in:
Aleksandr Kraiz
2023-06-05 12:37:51 +04:00
parent f2d225a415
commit 3af4348e9c
4 changed files with 8 additions and 5 deletions

View File

@@ -27,7 +27,6 @@ export const signOrder = async (
usePersonalSign: boolean,
signer: ethers.Signer,
chainId: SupportedChainId,
isReversedOrder = false
) => {
const nonce = Date.now();
const expiration = nonce + DEFAULT_EXPIRATION;
@@ -57,7 +56,6 @@ export const signOrder = async (
expiration,
buySide: side === 'BUY' ? 1 : 0,
isPersonalSign: usePersonalSign,
isReversedOrder
};
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions