indentations
This commit is contained in:
parent
0407ef6197
commit
39749728fe
@ -69,10 +69,6 @@ fn create_unverifiable_block_header(order: u32, parent_hash: H256) -> Header {
|
|||||||
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>) -> Bytes {
|
fn create_unverifiable_block_with_extra(order: u32, parent_hash: H256, extra: Option<Bytes>) -> Bytes {
|
||||||
let mut header = create_unverifiable_block_header(order, parent_hash);
|
let mut header = create_unverifiable_block_header(order, parent_hash);
|
||||||
header.extra_data = match extra {
|
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)
|
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<Arc<Client>> {
|
pub fn generate_dummy_client(block_number: u32) -> GuardedTempResult<Arc<Client>> {
|
||||||
let dir = RandomTempPath::new();
|
let dir = RandomTempPath::new();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user