diff --git a/eth2/types/src/attestation_data_and_custody_bit.rs b/eth2/types/src/attestation_data_and_custody_bit.rs index 05b17a8591..6265c0d06a 100644 --- a/eth2/types/src/attestation_data_and_custody_bit.rs +++ b/eth2/types/src/attestation_data_and_custody_bit.rs @@ -31,7 +31,7 @@ impl Decodable for AttestationDataAndCustodyBit { } impl TreeHash for AttestationDataAndCustodyBit { - fn hash_tree_root(&self) { + fn hash_tree_root(&self) -> Vec { let result: Vec = vec![]; result.append(&mut self.data.hash_tree_root()); // TODO: add bool ssz