diff --git a/enclave-runtime/src/initialization/parentchain/target_b_solochain.rs b/enclave-runtime/src/initialization/parentchain/target_b_solochain.rs index 3efc0714c1..d3ec66beae 100644 --- a/enclave-runtime/src/initialization/parentchain/target_b_solochain.rs +++ b/enclave-runtime/src/initialization/parentchain/target_b_solochain.rs @@ -20,7 +20,7 @@ use crate::{ initialization::{ global_components::{ EnclaveExtrinsicsFactory, EnclaveNodeMetadataRepository, EnclaveOCallApi, - EnclaveStfExecutor, EnclaveValidatorAccessor, TargetAParentchainBlockImportDispatcher, + EnclaveStfExecutor, EnclaveValidatorAccessor, TargetBParentchainBlockImportDispatcher, GLOBAL_OCALL_API_COMPONENT, GLOBAL_STATE_HANDLER_COMPONENT, GLOBAL_TARGET_B_PARENTCHAIN_LIGHT_CLIENT_SEAL, GLOBAL_TARGET_B_PARENTCHAIN_NONCE_CACHE, }, @@ -44,7 +44,7 @@ pub struct TargetBSolochainHandler { pub stf_executor: Arc, pub validator_accessor: Arc, pub extrinsics_factory: Arc, - pub import_dispatcher: Arc, + pub import_dispatcher: Arc, } impl TargetBSolochainHandler { @@ -98,7 +98,7 @@ impl TargetBSolochainHandler { WorkerMode::Sidechain => unimplemented!("Can't run target B chain in sidechain mode yet."), WorkerMode::Teeracle => - Arc::new(TargetAParentchainBlockImportDispatcher::new_empty_dispatcher()), + Arc::new(TargetBParentchainBlockImportDispatcher::new_empty_dispatcher()), }; let solochain_handler = Self {