From 45e7e78118418d897f34c045d052613daaa150c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Laferri=C3=A8re?= Date: Tue, 6 Feb 2024 16:18:03 -0500 Subject: [PATCH] Clone (#274) --- src/merkle/smt/full/proof.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/merkle/smt/full/proof.rs b/src/merkle/smt/full/proof.rs index ef29679..4bdbdc8 100644 --- a/src/merkle/smt/full/proof.rs +++ b/src/merkle/smt/full/proof.rs @@ -8,7 +8,7 @@ use super::{MerklePath, RpoDigest, SmtLeaf, SmtProofError, Word, SMT_DEPTH}; /// /// The proof consists of a Merkle path and leaf which describes the node located at the base of the /// path. -#[derive(PartialEq, Eq, Debug)] +#[derive(Clone, Debug, PartialEq, Eq)] pub struct SmtProof { path: MerklePath, leaf: SmtLeaf,