lightclient: Test sleep 6 sec

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2024-01-11 18:07:03 +02:00
parent 51bd584d80
commit d4da6281d6
+2
View File
@@ -153,6 +153,8 @@ impl<T: Config> LightClientBuilder<T> {
let chain_spec = serde_json::from_str(chain_spec)
.map_err(|_| Error::LightClient(LightClientError::InvalidChainSpec))?;
tokio::time::sleep(std::time::Duration::from_secs(6)).await;
self.build_client(chain_spec).await
}