fix: allow Uint8Array and Array<number> where Buffer is accepted
This commit is contained in:
committed by
Michael Vines
parent
6ba2f1d524
commit
6a7115b8bd
@ -52,7 +52,7 @@ export class Loader {
|
||||
payer: Account,
|
||||
program: Account,
|
||||
programId: PublicKey,
|
||||
data: Buffer | Array<number>,
|
||||
data: Buffer | Uint8Array | Array<number>,
|
||||
): Promise<PublicKey> {
|
||||
{
|
||||
const balanceNeeded = await connection.getMinimumBalanceForRentExemption(
|
||||
|
Reference in New Issue
Block a user