mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Versioned NextConfigDescriptor for BABE (#5789)
This commit is contained in:
@@ -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