redundant lines
This commit is contained in:
parent
da6f6d57cd
commit
349584772b
@ -39,13 +39,11 @@ fn imports_from_empty() {
|
|||||||
fn returns_state_root_basic() {
|
fn returns_state_root_basic() {
|
||||||
let client_result = generate_dummy_client(6);
|
let client_result = generate_dummy_client(6);
|
||||||
let client = client_result.reference();
|
let client = client_result.reference();
|
||||||
|
|
||||||
let test_spec = get_test_spec();
|
let test_spec = get_test_spec();
|
||||||
let test_engine = test_spec.to_engine().unwrap();
|
let test_engine = test_spec.to_engine().unwrap();
|
||||||
let state_root = test_engine.spec().genesis_header().state_root;
|
let state_root = test_engine.spec().genesis_header().state_root;
|
||||||
|
|
||||||
assert!(client.state_data(&state_root).is_some());
|
assert!(client.state_data(&state_root).is_some());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user