mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +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 {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user