diff --git a/beacon_node/beacon_chain/test_harness/src/bin.rs b/beacon_node/beacon_chain/test_harness/src/bin.rs index 7c525c768..182021440 100644 --- a/beacon_node/beacon_chain/test_harness/src/bin.rs +++ b/beacon_node/beacon_chain/test_harness/src/bin.rs @@ -5,7 +5,6 @@ use bls::create_proof_of_possession; use clap::{App, Arg}; use env_logger::{Builder, Env}; use log::{info, warn}; -use ssz::TreeHash; use std::{fs::File, io::prelude::*}; use types::*; use types::{ @@ -331,12 +330,6 @@ fn as_u64(yaml: &Yaml, key: &str) -> Option { yaml[key].as_i64().and_then(|n| Some(n as u64)) } -fn as_hash256(yaml: &Yaml, key: &str) -> Option { - yaml[key] - .as_str() - .and_then(|s| Some(Hash256::from(s.as_bytes()))) -} - fn as_vec_u64(yaml: &Yaml, key: &str) -> Option> { yaml[key].clone().into_vec().and_then(|vec| { Some(