From 39749728fefe9edfc79174e595acd14cc5c70d90 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Thu, 28 Jan 2016 20:15:45 +0400 Subject: [PATCH] indentations --- src/tests/helpers.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/helpers.rs b/src/tests/helpers.rs index 79dc4bf24..62a9d6252 100644 --- a/src/tests/helpers.rs +++ b/src/tests/helpers.rs @@ -69,10 +69,6 @@ fn create_unverifiable_block_header(order: u32, parent_hash: H256) -> Header { header } -fn create_unverifiable_block(order: u32, parent_hash: H256) -> Bytes { - create_test_block(&create_unverifiable_block_header(order, parent_hash)) -} - fn create_unverifiable_block_with_extra(order: u32, parent_hash: H256, extra: Option) -> Bytes { let mut header = create_unverifiable_block_header(order, parent_hash); header.extra_data = match extra { @@ -86,6 +82,10 @@ fn create_unverifiable_block_with_extra(order: u32, parent_hash: H256, extra: Op create_test_block(&header) } +fn create_unverifiable_block(order: u32, parent_hash: H256) -> Bytes { + create_test_block(&create_unverifiable_block_header(order, parent_hash)) +} + pub fn generate_dummy_client(block_number: u32) -> GuardedTempResult> { let dir = RandomTempPath::new();