From 4461699de46f2ef604e69b52ded8abadd8a83047 Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Wed, 1 Jan 2025 20:44:45 +0800 Subject: [PATCH] Fix: Make SwiftOrderMessageParmas match IDL (#1410) --- sdk/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/types.ts b/sdk/src/types.ts index 055478e3f..a71ec6523 100644 --- a/sdk/src/types.ts +++ b/sdk/src/types.ts @@ -1108,8 +1108,8 @@ export const DefaultOrderParams: OrderParams = { export type SwiftOrderParamsMessage = { swiftOrderParams: OptionalOrderParams; subAccountId: number; - uuid: Uint8Array; slot: BN; + uuid: Uint8Array; takeProfitOrderParams: SwiftTriggerOrderParams | null; stopLossOrderParams: SwiftTriggerOrderParams | null; };