ts client: Enable accounts to have serum slots by default

This commit is contained in:
Christian Kamm 2022-09-02 09:51:49 +02:00
parent d566db7db0
commit 90630fa3de
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ export class MangoClient {
name?: string,
): Promise<TransactionSignature> {
const transaction = await this.program.methods
.accountCreate(accountNumber ?? 0, 8, 0, 0, 0, name ?? '')
.accountCreate(accountNumber ?? 0, 8, 8, 0, 0, name ?? '')
.accounts({
group: group.publicKey,
owner: (this.program.provider as AnchorProvider).wallet.publicKey,