From f6815d24e4761d3818f361ed5cdaea99fd40260f Mon Sep 17 00:00:00 2001 From: Phoenix Orlov Date: Tue, 18 Jun 2019 03:06:44 -0700 Subject: [PATCH] [mempool] fix bootstrap typo per title --- libra_node/src/main_node.rs | 2 +- mempool/src/runtime.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,