mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-22 20:51:10 +10:00
fix: change call getAllAccountsV4 and getALlMarketsV3
This commit is contained in:
6
buy.ts
6
buy.ts
@ -164,6 +164,12 @@ async function init(): Promise<void> {
|
||||
`Total ${quoteToken.symbol} pools ${existingLiquidityPools.size}`,
|
||||
);
|
||||
|
||||
const tokenAccounts = await getTokenAccounts(
|
||||
solanaConnection,
|
||||
wallet.publicKey,
|
||||
commitment,
|
||||
);
|
||||
|
||||
// check existing wallet for associated token account of quote mint
|
||||
const tokenAccounts = await getTokenAccounts(
|
||||
solanaConnection,
|
||||
|
||||
Reference in New Issue
Block a user