mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
make SelectChain async (#9128)
* make SelectChain async * make JustificationImport async
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user