From f91cb84ffd34861d119251ee2553851695844e1b Mon Sep 17 00:00:00 2001 From: "Yohanes .K" <55654189+Y0h4n3s@users.noreply.github.com> Date: Wed, 15 May 2024 16:03:49 +0300 Subject: [PATCH] update market account struct name to match idl value (#258) --- ts/client/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index 7c6cae21..f28d1ab5 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -577,7 +577,7 @@ export class OpenBookV2Client { } public decodeMarket(data: Buffer): any { - return this.program.coder.accounts.decode('Market', data); + return this.program.coder.accounts.decode('market', data); } public async placeOrderIx(