mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-23 05:01:14 +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}`,
|
`Total ${quoteToken.symbol} pools ${existingLiquidityPools.size}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const tokenAccounts = await getTokenAccounts(
|
||||||
|
solanaConnection,
|
||||||
|
wallet.publicKey,
|
||||||
|
commitment,
|
||||||
|
);
|
||||||
|
|
||||||
// check existing wallet for associated token account of quote mint
|
// check existing wallet for associated token account of quote mint
|
||||||
const tokenAccounts = await getTokenAccounts(
|
const tokenAccounts = await getTokenAccounts(
|
||||||
solanaConnection,
|
solanaConnection,
|
||||||
|
|||||||
Reference in New Issue
Block a user