Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in createVault.ts and close_empty_token_accounts.ts #270

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/actions/drift/createVault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const createDriftVaultAction: Action = {
.int()
.min(100, "Max tokens must be at least 100")
.describe(
"The maximum amount of tokens the vault will be accomodating. For example some vaults have a cap at 10 million USDC. This amount should be normal token amounts e.g 50 SOL, 100 USDC, etc",
"The maximum amount of tokens the vault will be accommodating. For example some vaults have a cap at 10 million USDC. This amount should be normal token amounts e.g 50 SOL, 100 USDC, etc",
),
minDepositAmount: z
.number()
Expand Down
4 changes: 2 additions & 2 deletions src/tools/solana/close_empty_token_accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export async function closeEmptyTokenAccounts(
}

/**
* creates the close instuctions of a spl token account
* creates the close instructions of a spl token account
* @param agnet SolanaAgentKit instance
* @param token_program Token Program Id
* @returns close instuction array
* @returns close instruction array
*/

async function create_close_instruction(
Expand Down