fix: isAccountWritable takes a number

This commit is contained in:
Justin Starry 2020-05-01 23:35:03 +08:00 committed by Michael Vines
parent 14a41bc47b
commit 5662808b4c
2 changed files with 2 additions and 2 deletions

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

@ -379,7 +379,7 @@ declare module '@solana/web3.js' {
instructions: CompiledInstruction[];
constructor(args: MessageArgs);
isAccountWritable(account: PublicKey): boolean;
isAccountWritable(index: number): boolean;
serialize(): Buffer;
}

View File

@ -389,7 +389,7 @@ declare module '@solana/web3.js' {
instructions: CompiledInstruction[];
constructor(args: MessageArgs): Message;
isAccountWritable(account: PublicKey): boolean;
isAccountWritable(index: number): boolean;
serialize(): Buffer;
}