From 4d7bd3e2d759d6f508ff32590c1b3048f67f0b2b Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 31 Jan 2020 23:30:29 -0500 Subject: [PATCH] derive(Copy) on SaplingNoteTreeRootHash --- zebra-chain/src/note_commitment_tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-chain/src/note_commitment_tree.rs b/zebra-chain/src/note_commitment_tree.rs index 4eba6a24..32eb0bd2 100644 --- a/zebra-chain/src/note_commitment_tree.rs +++ b/zebra-chain/src/note_commitment_tree.rs @@ -31,7 +31,7 @@ pub struct SaplingNoteCommitmentTree; /// commitment tree corresponding to the final Sapling treestate of /// this block. A root of a note commitment tree is associated with /// each treestate. -#[derive(Clone, Debug, Default, Eq, PartialEq)] +#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] #[cfg_attr(test, derive(Arbitrary))] pub struct SaplingNoteTreeRootHash(pub [u8; 32]);