make SelectChain async (#9128)

* make SelectChain async

* make JustificationImport async
This commit is contained in:
André Silva
2021-06-20 12:01:09 +01:00
committed by GitHub
parent 650fc2f9c9
commit a26ec52450
18 changed files with 800 additions and 454 deletions
@@ -151,7 +151,7 @@ where
let ends_at = Instant::now() + ends_in;
let chain_head = match self.client.best_chain() {
let chain_head = match self.client.best_chain().await {
Ok(x) => x,
Err(e) => {
log::warn!(