Merge pull request #9 from fdundjer/fix/script-fails-to-build

fix: issue where script fails to build after package updates
This commit is contained in:
Filip Dunđer
2024-01-13 12:14:13 +01:00
committed by GitHub
+2
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),
});
}