From 0312c08494e6779829c42393a3ed96b5f8dfa454 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Wed, 27 Jan 2016 19:07:35 +0400 Subject: [PATCH] spaces fix --- src/client.rs | 1 - src/tests/helpers.rs | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/client.rs b/src/client.rs index 9aa9854b6..a83ff554e 100644 --- a/src/client.rs +++ b/src/client.rs @@ -292,7 +292,6 @@ impl Client { pub fn tick(&self) { self.chain.read().unwrap().collect_garbage(false); } - } impl BlockChainClient for Client { diff --git a/src/tests/helpers.rs b/src/tests/helpers.rs index e7c717f42..a566392cc 100644 --- a/src/tests/helpers.rs +++ b/src/tests/helpers.rs @@ -32,12 +32,10 @@ impl Drop for RandomTempPath { } } - pub fn get_test_spec() -> Spec { Spec::new_test() } - pub fn create_test_block(header: &Header) -> Bytes { let mut rlp = RlpStream::new_list(3); rlp.append(header); @@ -50,7 +48,6 @@ pub fn generate_dummy_client(block_number: usize) -> Arc { let dir = RandomTempPath::new(); let client = Client::new(get_test_spec(), dir.as_path(), IoChannel::disconnected()).unwrap(); - let test_spec = get_test_spec(); let test_engine = test_spec.to_engine().unwrap(); let state_root = test_engine.spec().genesis_header().state_root; @@ -77,10 +74,7 @@ pub fn generate_dummy_client(block_number: usize) -> Arc { } } - client.flush_queue(); client.import_verified_blocks(&IoChannel::disconnected()); - client - } \ No newline at end of file