Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: teor <teor@riseup.net>
  • Loading branch information
upbqdn and teor2345 authored Nov 8, 2023
1 parent 2deb704 commit 7a32f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zebra-chain/src/parallel/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::{
};

/// An argument wrapper struct for note commitment trees.
#[derive(Clone, Debug, Default)]
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct NoteCommitmentTrees {
/// The sprout note commitment tree.
pub sprout: Arc<sprout::tree::NoteCommitmentTree>,
Expand Down
2 changes: 1 addition & 1 deletion zebra-state/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub struct ContextuallyVerifiedBlock {
}

/// Wraps note commitment trees and the history tree together.
#[derive(Default)]
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct Treestate {
/// Note commitment trees.
pub note_commitment_trees: NoteCommitmentTrees,
Expand Down

0 comments on commit 7a32f56

Please sign in to comment.