mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 14:09:49 +00:00
Versioned NextConfigDescriptor for BABE (#5789)
This commit is contained in:
1 parent
99ad328419
commit
7784bdeffe
2 files changed
+22
-3
No files matched your search
@@ -1065,7 +1065,7 @@ impl<Block, Client, Inner> BlockImport<Block> for BabeBlockImport<Block, Client,
|
||||
ConsensusError::ClientImport(Error::<Block>::FetchEpoch(parent_hash).into())
|
||||
})?;
|
||||
|
||||
let epoch_config = next_config_digest.unwrap_or_else(
|
||||
let epoch_config = next_config_digest.map(Into::into).unwrap_or_else(
|
||||
|| viable_epoch.as_ref().config.clone()
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user