Skip to content

Commit

Permalink
Remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
migroslinx authored and luketchang committed Sep 16, 2022
1 parent 75c6e80 commit a38bd88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions primitives/nomad/merkle/src/light.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ impl<const N: usize> Merkle for LightMerkle<N> {
}

impl<const N: usize> LightMerkle<N> {
pub const N_LESS_THAN_TREE_DEPTH_ASSERT: usize = TREE_DEPTH - N;

/// Instantiate a new tree with a known depth and a starting leaf-set
pub fn from_leaves(leaves: &[H256]) -> Result<Self, TreeError> {
let mut tree = Self::default();
Expand Down

0 comments on commit a38bd88

Please sign in to comment.