mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
ImportBlock -> BlockImportParams (#3158)
This commit is contained in:
committed by
DemiMarie-parity
parent
4bbfaa9c8f
commit
2edeef5825
@@ -30,7 +30,7 @@ use log::info;
|
||||
use client::block_builder::api::BlockBuilder;
|
||||
use client::runtime_api::ConstructRuntimeApi;
|
||||
use consensus_common::{
|
||||
BlockOrigin, ImportBlock, InherentData, ForkChoiceStrategy,
|
||||
BlockOrigin, BlockImportParams, InherentData, ForkChoiceStrategy,
|
||||
SelectChain
|
||||
};
|
||||
use consensus_common::block_import::BlockImport;
|
||||
@@ -166,7 +166,7 @@ fn import_block<F>(
|
||||
block: <F as ServiceFactory>::Block
|
||||
) -> () where F: ServiceFactory
|
||||
{
|
||||
let import = ImportBlock {
|
||||
let import = BlockImportParams {
|
||||
origin: BlockOrigin::File,
|
||||
header: block.header().clone(),
|
||||
post_digests: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user