fix: update accounts to readonly/writable
This commit is contained in:
committed by
Michael Vines
parent
58550733fb
commit
d0c89f7fa3
@ -214,13 +214,13 @@ declare module '@solana/web3.js' {
|
||||
declare export type TransactionSignature = string;
|
||||
|
||||
declare type TransactionInstructionCtorFields = {|
|
||||
keys: ?Array<{pubkey: PublicKey, isSigner: boolean, isDebitable: boolean}>,
|
||||
keys: ?Array<{pubkey: PublicKey, isSigner: boolean, isWritable: boolean}>,
|
||||
programId?: PublicKey,
|
||||
data?: Buffer,
|
||||
|};
|
||||
|
||||
declare export class TransactionInstruction {
|
||||
keys: Array<{pubkey: PublicKey, isSigner: boolean, isDebitable: boolean}>;
|
||||
keys: Array<{pubkey: PublicKey, isSigner: boolean, isWritable: boolean}>;
|
||||
programId: PublicKey;
|
||||
data: Buffer;
|
||||
|
||||
|
Reference in New Issue
Block a user