diff --git a/commit_verify/derive/src/derive.rs b/commit_verify/derive/src/derive.rs index 31cc8242..797cd720 100644 --- a/commit_verify/derive/src/derive.rs +++ b/commit_verify/derive/src/derive.rs @@ -44,8 +44,7 @@ impl CommitDerive { engine.commit_to_serialized(self.as_inner()); }, StrategyAttr::Merklize => quote! { - use amplify::Wrapper; - engine.commit_to_merkle(self.as_inner().merklize()); + engine.commit_to_merkle(self); }, };