Merge pull request #290 from mjkeating/tree_hash_spec_update

Updated TreeHash logic as per revised spec
This commit is contained in:
Paul Hauner
2019-03-13 14:04:42 +13:00
committed by GitHub
33 changed files with 126 additions and 151 deletions

View File

@@ -87,7 +87,7 @@ impl Serialize for AggregateSignature {
}
impl TreeHash for AggregateSignature {
fn hash_tree_root_internal(&self) -> Vec<u8> {
fn hash_tree_root(&self) -> Vec<u8> {
hash(&self.0.as_bytes())
}
}