Update dockertests to new serai-client

This commit is contained in:
Luke Parker
2023-10-14 03:10:32 -04:00
parent e3e9939eaf
commit 7d4e8b59db
7 changed files with 56 additions and 58 deletions

View File

@@ -170,7 +170,7 @@ impl Processor {
for _ in 0 .. 60 {
tokio::time::sleep(Duration::from_secs(1)).await;
let Ok(client) = Serai::new(&serai_rpc).await else { continue };
if client.get_latest_block_hash().await.is_err() {
if client.latest_block_hash().await.is_err() {
continue;
}
break;