diff --git a/tc-subxt/src/api/tasks.rs b/tc-subxt/src/api/tasks.rs index d923feedd..891e0019b 100644 --- a/tc-subxt/src/api/tasks.rs +++ b/tc-subxt/src/api/tasks.rs @@ -89,7 +89,7 @@ impl SubxtClient { let (tx, rx) = oneshot::channel(); self.tx.unbounded_send((Tx::RestartBatch { batch_id }, tx))?; let tx = rx.await?; - self.wait_for_success(tx).await?; + self.is_success(&tx).await?; Ok(()) }