diff --git a/libra_node/src/main_node.rs b/libra_node/src/main_node.rs index 0bbb26f49bf6..eaf736978a11 100644 --- a/libra_node/src/main_node.rs +++ b/libra_node/src/main_node.rs @@ -243,7 +243,7 @@ pub fn setup_environment(node_config: &NodeConfig) -> (AdmissionControlClient, L instant = Instant::now(); let mempool = - MempoolRuntime::boostrap(&node_config, mempool_network_sender, mempool_network_events); + MempoolRuntime::bootstrap(&node_config, mempool_network_sender, mempool_network_events); debug!("Mempool started in {} ms", instant.elapsed().as_millis()); let debug_if = ServerHandle::setup(setup_debug_interface(&node_config)); diff --git a/mempool/src/runtime.rs b/mempool/src/runtime.rs index 1ea6eb89ae31..657170438ff3 100644 --- a/mempool/src/runtime.rs +++ b/mempool/src/runtime.rs @@ -28,7 +28,7 @@ pub struct MempoolRuntime { impl MempoolRuntime { /// setup Mempool runtime - pub fn boostrap( + pub fn bootstrap( config: &NodeConfig, network_sender: MempoolNetworkSender, network_events: MempoolNetworkEvents,