derive(Copy) on SaplingNoteTreeRootHash

This commit is contained in:
Deirdre Connolly 2020-01-31 23:30:29 -05:00 committed by Deirdre Connolly
parent 0f4d3e4a6d
commit 4d7bd3e2d7
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ pub struct SaplingNoteCommitmentTree;
/// commitment tree corresponding to the final Sapling treestate of /// commitment tree corresponding to the final Sapling treestate of
/// this block. A root of a note commitment tree is associated with /// this block. A root of a note commitment tree is associated with
/// each treestate. /// each treestate.
#[derive(Clone, Debug, Default, Eq, PartialEq)] #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
#[cfg_attr(test, derive(Arbitrary))] #[cfg_attr(test, derive(Arbitrary))]
pub struct SaplingNoteTreeRootHash(pub [u8; 32]); pub struct SaplingNoteTreeRootHash(pub [u8; 32]);