mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Remove redundant type param fom CachedTreeHash
This commit is contained in:
@@ -56,7 +56,7 @@ pub fn subtree_derive(input: TokenStream) -> TokenStream {
|
||||
let idents_c = idents_a.clone();
|
||||
|
||||
let output = quote! {
|
||||
impl cached_tree_hash::CachedTreeHash<#name> for #name {
|
||||
impl cached_tree_hash::CachedTreeHash for #name {
|
||||
fn new_tree_hash_cache(&self, depth: usize) -> Result<cached_tree_hash::TreeHashCache, cached_tree_hash::Error> {
|
||||
let tree = cached_tree_hash::TreeHashCache::from_leaves_and_subtrees(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user