fix: update NonceAccount to upstream changes

This commit is contained in:
Trent Nelson
2020-03-05 09:44:56 -07:00
committed by Michael Vines
parent 3b55087a86
commit 890e21c451
7 changed files with 43 additions and 18 deletions

View File

@@ -244,6 +244,13 @@ declare module '@solana/web3.js' {
): Promise<number>;
}
// === src/nonce-account.js ===
declare export class NonceAccount {
authorizedPubkey: PublicKey;
nonce: Blockhash;
feeCalculator: FeeCalculator;
}
// === src/stake-program.js ===
declare export type StakeAuthorizationType = {|
index: number,
@@ -432,7 +439,6 @@ declare module '@solana/web3.js' {
declare export class SystemProgram {
static programId: PublicKey;
static nonceSpace: number;
static createAccount(params: CreateAccountParams): Transaction;
static transfer(params: TransferParams): Transaction;