fix issue where script fails to build after package updates

This commit is contained in:
Filip Dunder
2024-01-13 12:13:14 +01:00
parent f50ef5c3d1
commit f541ef93e2

View File

@ -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),
});
}