From f67facae882ca9026a3591b6bb97b44a983796f4 Mon Sep 17 00:00:00 2001 From: Kirk Baird Date: Fri, 25 Jan 2019 14:39:51 +1100 Subject: [PATCH] Add return type for AttesationDataAndCustodyBit hash_tree_root --- eth2/types/src/attestation_data_and_custody_bit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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