fix: update from getEpochVoteAccounts to getVoteAccounts rpc

This commit is contained in:
Tyera Eulberg
2019-08-19 11:39:08 -06:00
committed by Michael Vines
parent 38ffe85737
commit a3bf378d0d
4 changed files with 54 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ declare module '@solana/web3.js' {
): Promise<Array<[PublicKey, AccountInfo]>>;
getBalance(publicKey: PublicKey): Promise<number>;
getClusterNodes(): Promise<Array<ContactInfo>>;
getEpochVoteAccounts(): Promise<Array<VoteAccountInfo>>;
getVoteAccounts(): Promise<VoteAccountStatus>;
confirmTransaction(signature: TransactionSignature): Promise<boolean>;
getSlot(): Promise<number>;
getSlotLeader(): Promise<string>;