allowing level 0 nodes means that Addresses are used for non-internal nodes

This commit is contained in:
zancas 2023-06-30 18:25:50 -06:00
parent 6d6f3fd4e3
commit 5c14ab8882
No known key found for this signature in database
GPG Key ID: E4BCAA0A9B09F559
1 changed files with 1 additions and 1 deletions

View File

@ -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)]