fix get multiple accounts call (#298)

This commit is contained in:
keemy 2021-06-14 11:56:48 -07:00 committed by GitHub
parent 9baece02d5
commit a9c63fd2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,5 +129,5 @@ export async function getMultipleSolanaAccounts(
): Promise<
Array<null | { publicKey: PublicKey; account: AccountInfo<Buffer> }>
> {
return anchor.utils.getMultipleAccounts(connection, publicKeys);
return anchor.utils.rpc.getMultipleAccounts(connection, publicKeys);
}