Update ethereum-types to 0.5

This commit is contained in:
Michael Sproul
2019-03-04 17:19:25 +11:00
parent af8b8d519c
commit 6253167cac
19 changed files with 80 additions and 79 deletions

View File

@@ -626,7 +626,7 @@ impl EpochProcessable for BeaconState {
}
fn hash_tree_root<T: TreeHash>(input: Vec<T>) -> Hash256 {
Hash256::from(&input.hash_tree_root()[..])
Hash256::from_slice(&input.hash_tree_root()[..])
}
fn winning_root(