Tidy tree hash cache, add new trait

This commit is contained in:
Paul Hauner
2019-04-15 15:13:02 +10:00
parent 8e5b79452a
commit 354f823c16
6 changed files with 138 additions and 18 deletions

View File

@@ -4,7 +4,7 @@ use ssz::ssz_encode;
mod vec;
impl CachedTreeHash<u64> for u64 {
impl CachedTreeHashSubtree<u64> for u64 {
fn item_type() -> ItemType {
ItemType::Basic
}