Skip to content

Commit

Permalink
readd removed Api
Browse files Browse the repository at this point in the history
  • Loading branch information
iqdecay committed Nov 6, 2023
1 parent 40f053b commit 23787c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/fuels-accounts/src/provider/retryable_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ impl RetryableClient {
self.our_retry(|| self.client.chain_info()).await
}

pub async fn await_transaction_commit(&self, id: &TxId) -> io::Result<TransactionStatus> {
self.our_retry(|| self.client.await_transaction_commit(id))
}

pub async fn submit_and_await_commit(&self, tx: &Transaction) -> io::Result<TransactionStatus> {
self.our_retry(|| self.client.submit_and_await_commit(tx))
.await
Expand Down

0 comments on commit 23787c9

Please sign in to comment.