allowing level 0 nodes means that Addresses are used for non-internal nodes
This commit is contained in:
parent
6d6f3fd4e3
commit
5c14ab8882
|
@ -286,7 +286,7 @@ impl Sub<u8> for Level {
|
|||
}
|
||||
}
|
||||
|
||||
/// The address of an internal node of the Merkle tree.
|
||||
/// The address of a node of the Merkle tree.
|
||||
/// When `level == 0`, the index has the same value as the
|
||||
/// position.
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
|
Loading…
Reference in New Issue