Add return type for AttesationDataAndCustodyBit hash_tree_root
This commit is contained in:
parent
5a2cf6219e
commit
f67facae88
@ -31,7 +31,7 @@ impl Decodable for AttestationDataAndCustodyBit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl TreeHash for AttestationDataAndCustodyBit {
|
impl TreeHash for AttestationDataAndCustodyBit {
|
||||||
fn hash_tree_root(&self) {
|
fn hash_tree_root(&self) -> Vec<u8> {
|
||||||
let result: Vec<u8> = vec![];
|
let result: Vec<u8> = vec![];
|
||||||
result.append(&mut self.data.hash_tree_root());
|
result.append(&mut self.data.hash_tree_root());
|
||||||
// TODO: add bool ssz
|
// TODO: add bool ssz
|
||||||
|
Loading…
Reference in New Issue
Block a user