Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Oct 16, 2020
1 parent 3a08ded commit 8ecb5f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions testing/jormungandr-scenario-tests/src/node.rs
Expand Up @@ -20,7 +20,7 @@ pub use jormungandr_testing_utils::testing::{
},
node::{
grpc::{client::MockClientError, JormungandrClient},
uri_from_socket_addr, Explorer, JormungandrLogger, JormungandrRest, RestError,
uri_from_socket_addr, JormungandrLogger, JormungandrRest, RestError,
},
FragmentNode, MemPoolCheck, NamedProcess,
};
Expand Down Expand Up @@ -305,10 +305,6 @@ impl NodeController {
.collect())
}

pub fn explorer(&self) -> Explorer {
Explorer::new(self.settings.config.rest.listen.clone().to_string())
}

pub fn genesis_block_hash(&self) -> Result<HeaderId> {
Ok(block_on(self.grpc_client.get_genesis_block_hash()))
}
Expand Down
Expand Up @@ -16,8 +16,7 @@ use crate::{
comm::passive_leader::*,
features::{
explorer::passive_node_explorer, leader_promotion::*,
leadership_log::leader_restart_preserves_leadership_log, p2p::*,
vote::vote_e2e_flow,
leadership_log::leader_restart_preserves_leadership_log, p2p::*, vote::vote_e2e_flow,
},
legacy,
network::real::real_network,
Expand Down

0 comments on commit 8ecb5f2

Please sign in to comment.