mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-16 17:51:14 +10:00
fix issue where script fails to build after package updates
This commit is contained in:
@ -114,6 +114,7 @@ export async function getAccountPoolKeysFromAccountDataV4(
|
||||
marketEventQueue: minimalMarketData.eventQueue,
|
||||
withdrawQueue: accountData.withdrawQueue,
|
||||
lpVault: accountData.lpVault,
|
||||
lookupTableAccount: PublicKey.default,
|
||||
};
|
||||
}
|
||||
|
||||
@ -129,6 +130,7 @@ export async function getTokenAccounts(
|
||||
for (const { pubkey, account } of tokenResp.value) {
|
||||
accounts.push({
|
||||
pubkey,
|
||||
programId: account.owner,
|
||||
accountInfo: SPL_ACCOUNT_LAYOUT.decode(account.data),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user