mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-23 19:09:56 +00:00
sp-consensus: remove unused error variants (#13495)
This commit is contained in:
1 parent
6458a6386d
commit
b29584d93a
4 files changed
+15
-65
No files matched your search
@@ -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