remove dead code

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-04-02 20:16:31 +02:00
parent 4d1a9e4556
commit 5fbc27e184
1 changed files with 0 additions and 18 deletions

View File

@ -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<Bank> {
return await findOrCreate<Bank>(
'group',
getBankForGroupAndMint,
[client, group.publicKey, mint],
registerToken,
[client, group.publicKey, admin.publicKey, mint, oracle, payer, tokenIndex],
);
}
async function main() {
//
// Setup