Fix issue in polling for transaction signatures (#4923)

- Specifically if multiple confirmation for the signature is requested
This commit is contained in:
Pankaj Garg
2019-07-02 20:56:10 -07:00
committed by GitHub
parent 55b8ff72d0
commit f551b34725
4 changed files with 37 additions and 28 deletions

View File

@ -64,7 +64,7 @@ pub trait SyncClient {
&self,
signature: &Signature,
min_confirmed_blocks: usize,
) -> Result<()>;
) -> Result<usize>;
/// Poll to confirm a transaction.
fn poll_for_signature(&self, signature: &Signature) -> Result<()>;