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

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

@ -229,6 +229,13 @@ declare module '@solana/web3.js' {
): Promise<number>;
}
// === src/nonce-account.js ===
export class NonceAccount {
authorizedPubkey: PublicKey;
nonce: Blockhash;
feeCalculator: FeeCalculator;
}
// === src/validator-info.js ===
export const VALIDATOR_INFO_KEY: PublicKey;
export type Info = {
@ -536,7 +543,6 @@ declare module '@solana/web3.js' {
export class SystemProgram {
static programId: PublicKey;
static nonceSpace: number;
static createAccount(
from: PublicKey,