From 0fa84bb06c85fc9de7526787283b2e06ae3d355d Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Tue, 31 Mar 2020 22:47:06 +0800 Subject: [PATCH] fix: getConfirmedBlock missing arg in defs --- web3.js/module.d.ts | 2 +- web3.js/module.flow.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index 65b53f7e2f..63e3eed9bf 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -180,7 +180,7 @@ declare module '@solana/web3.js' { ): Promise>; getBalance(publicKey: PublicKey, commitment?: Commitment): Promise; getClusterNodes(): Promise>; - getConfirmedBlock(): Promise; + getConfirmedBlock(slot: number): Promise; getVoteAccounts(commitment?: Commitment): Promise; confirmTransactionAndContext( signature: TransactionSignature, diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 27adc8a493..9f1400eb43 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -193,7 +193,7 @@ declare module '@solana/web3.js' { ): Promise>; getBalance(publicKey: PublicKey, commitment: ?Commitment): Promise; getClusterNodes(): Promise>; - getConfirmedBlock(): Promise; + getConfirmedBlock(slot: number): Promise; getVoteAccounts(commitment: ?Commitment): Promise; confirmTransactionAndContext( signature: TransactionSignature,