mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
sp-consensus: remove unused error variants (#13495)
This commit is contained in:
@@ -331,7 +331,8 @@ where
|
||||
.select_chain
|
||||
.best_chain()
|
||||
.await
|
||||
.map_err(|e| format!("Fetch best chain failed via select chain: {}", e))?;
|
||||
.map_err(|e| format!("Fetch best chain failed via select chain: {}", e))
|
||||
.map_err(ConsensusError::ChainLookup)?;
|
||||
let best_hash = best_header.hash();
|
||||
|
||||
let parent_hash = *block.header.parent_hash();
|
||||
|
||||
Reference in New Issue
Block a user