From 5fbc27e1848a926ef9894c7ef71e3bdca70acd50 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Sat, 2 Apr 2022 20:16:31 +0200 Subject: [PATCH] remove dead code Signed-off-by: microwavedcola1 --- ts/example.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ts/example.ts b/ts/example.ts index a7f94a684..a2a3bfe7e 100644 --- a/ts/example.ts +++ b/ts/example.ts @@ -22,24 +22,6 @@ import { import { findOrCreate } from './utils'; import { Bank, Group, MangoAccount, Serum3Market } from './types'; -async function registerBank( - client: MangoClient, - group: any, - admin: Keypair, - mint: PublicKey, - oracle: PublicKey, - payer: Keypair, - tokenIndex: number, -): Promise { - return await findOrCreate( - 'group', - getBankForGroupAndMint, - [client, group.publicKey, mint], - registerToken, - [client, group.publicKey, admin.publicKey, mint, oracle, payer, tokenIndex], - ); -} - async function main() { // // Setup