more docs

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-04-01 09:11:08 +02:00
parent 7ab18cff9f
commit 997301d079
1 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,9 @@ import {
} from './instructions';
async function main() {
//
// Setup
//
const options = Provider.defaultOptions();
const connection = new Connection(
'https://mango.devnet.rpcpool.com',
@ -159,7 +162,7 @@ async function main() {
)} Deposits for bank ${freshBank.tokenIndex}`,
);
// close
// close mango account
await closeMangoAccount(client, account.publicKey, admin.publicKey);
accounts = await getMangoAccountsForGroupAndOwner(
client,