remove accidental assert

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-04-07 19:07:36 +02:00
parent dc26190a81
commit 1f380cf8c9
1 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import {
TransactionInstruction,
TransactionSignature,
} from '@solana/web3.js';
import { assert } from 'console';
import { MangoClient } from '../../client';
export class Group {
@ -52,8 +51,5 @@ export async function getGroupForAdmin(
},
])
).map((tuple) => Group.from(tuple.publicKey, tuple.account));
assert(groups.length == 1);
return groups[0];
}