feat: specify program account when using bpf loader

This commit is contained in:
Justin Starry
2020-04-15 21:26:19 +08:00
committed by Michael Vines
parent 56781f893e
commit e6fb146809
4 changed files with 10 additions and 4 deletions

1
web3.js/module.d.ts vendored
View File

@ -651,6 +651,7 @@ declare module '@solana/web3.js' {
static load(
connection: Connection,
payer: Account,
program: Account,
elfBytes: Buffer | Uint8Array | Array<number>,
): Promise<PublicKey>;
}