mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Add return type for AttesationDataAndCustodyBit hash_tree_root
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user