|
@@ -114,6 +114,7 @@ export async function getAccountPoolKeysFromAccountDataV4(
|
|
marketEventQueue: minimalMarketData.eventQueue,
|
|
marketEventQueue: minimalMarketData.eventQueue,
|
|
withdrawQueue: accountData.withdrawQueue,
|
|
withdrawQueue: accountData.withdrawQueue,
|
|
lpVault: accountData.lpVault,
|
|
lpVault: accountData.lpVault,
|
|
|
|
+ lookupTableAccount: PublicKey.default,
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
@@ -129,6 +130,7 @@ export async function getTokenAccounts(
|
|
for (const { pubkey, account } of tokenResp.value) {
|
|
for (const { pubkey, account } of tokenResp.value) {
|
|
accounts.push({
|
|
accounts.push({
|
|
pubkey,
|
|
pubkey,
|
|
|
|
+ programId: account.owner,
|
|
accountInfo: SPL_ACCOUNT_LAYOUT.decode(account.data),
|
|
accountInfo: SPL_ACCOUNT_LAYOUT.decode(account.data),
|
|
});
|
|
});
|
|
}
|
|
}
|