Add return type for AttesationDataAndCustodyBit hash_tree_root

This commit is contained in:
Kirk Baird 2019-01-25 14:39:51 +11:00
parent 5a2cf6219e
commit f67facae88
No known key found for this signature in database
GPG Key ID: BF864B7ED0BEA33F

View File

@ -31,7 +31,7 @@ impl Decodable for AttestationDataAndCustodyBit {
}
impl TreeHash for AttestationDataAndCustodyBit {
fn hash_tree_root(&self) {
fn hash_tree_root(&self) -> Vec<u8> {
let result: Vec<u8> = vec![];
result.append(&mut self.data.hash_tree_root());
// TODO: add bool ssz