fix: add Buffer to loader elf data arg type
This commit is contained in:
committed by
Michael Vines
parent
e8ca68043a
commit
7073310e2b
@ -52,7 +52,7 @@ export class Loader {
|
||||
payer: Account,
|
||||
program: Account,
|
||||
programId: PublicKey,
|
||||
data: Array<number>,
|
||||
data: Buffer | Array<number>,
|
||||
): Promise<PublicKey> {
|
||||
{
|
||||
const balanceNeeded = await connection.getMinimumBalanceForRentExemption(
|
||||
|
Reference in New Issue
Block a user