Fix clippy lint

This commit is contained in:
Paul Hauner 2019-02-13 10:32:56 +11:00
parent 722a157367
commit 492d4749d7
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -55,7 +55,7 @@ impl BeaconBlock {
shard: spec.beacon_chain_shard_number,
block_root: block_without_signature_root,
};
Hash256::from_slice(&proposal.hash_tree_root()[..])
Hash256::from(&proposal.hash_tree_root()[..])
}
}