Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg committed Jul 13, 2021
1 parent a98979f commit 3607b27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zebra-chain/src/orchard/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl ZcashDeserialize for Root {
}
}

// A node of the Orchard Incremental Note Commitment Tree.
/// A node of the Orchard Incremental Note Commitment Tree.
#[derive(Clone, Debug)]
struct Node(pallas::Base);

Expand Down
5 changes: 4 additions & 1 deletion zebra-chain/src/sapling/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ impl From<&Root> for [u8; 32] {
}
}

// A node of the Sapling Incremental Note Commitment Tree.
/// A node of the Sapling Incremental Note Commitment Tree.
///
/// Note that it's handled as a byte buffer and not a point coordinate because
/// that's how the spec handles the MerkleCRH^Sapling function inputs and outputs.
#[derive(Clone, Debug)]
struct Node([u8; 32]);

Expand Down

0 comments on commit 3607b27

Please sign in to comment.