remove unused code (#1920)

This commit is contained in:
thiolliere
2019-03-04 17:10:31 +01:00
committed by GitHub
parent c485eb8fdc
commit b599556e21
5 changed files with 5 additions and 8 deletions
+3 -1
View File
@@ -193,7 +193,9 @@ impl From<RawLog<substrate_primitives::H256>> for primitives::testing::DigestIte
}
}
// Create a Hash with 69 for each byte
// Create a Hash with 69 for each byte,
// only used to build genesis config
#[cfg(feature = "std")]
fn hash69<T: AsMut<[u8]> + Default>() -> T {
let mut h = T::default();
h.as_mut().iter_mut().for_each(|byte| *byte = 69);