chore: docs + lint

This commit is contained in:
aryan
2025-01-11 02:29:52 +05:30
parent 88023dfe2d
commit 677d17491c
37 changed files with 101 additions and 71 deletions

View File

@@ -17,7 +17,6 @@ export async function create_squads_multisig(
): Promise<string> {
const connection = agent.connection;
const createKey = agent.wallet; // can be any keypair, using the agent wallet as only one multisig is required
console.log("Multisig Create Key:", createKey.publicKey.toBase58());
const [multisigPda] = multisig.getMultisigPda({
createKey: createKey.publicKey,

View File

@@ -54,7 +54,7 @@ export async function deposit_to_multisig(
mint,
agent.wallet_address,
);
let transaction = new Transaction();
const transaction = new Transaction();
const toAta = await getAssociatedTokenAddress(mint, to, true);
const toTokenAccountInfo = await agent.connection.getAccountInfo(toAta);
// Create associated token account if it doesn't exist