Skip to content

Commit

Permalink
update market account struct name to match idl value (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0h4n3s committed May 15, 2024
1 parent 5feae03 commit f91cb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f91cb84

Please sign in to comment.