Skip to content

Commit

Permalink
reformats documentation based on 80-char line length rule
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Mar 2, 2023
1 parent 9d09041 commit ed09463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ func (n *NamespacedMerkleTree) GetWithProof(nID namespace.ID) ([][]byte, Proof,
}

// calculateAbsenceIndex returns the index of a leaf of the tree that 1) its
// namespace ID is the smallest namespace ID larger than nID and 2) the namespace
// ID of the leaf to the left of it is smaller than the nID.
// namespace ID is the smallest namespace ID larger than nID and 2) the
// namespace ID of the leaf to the left of it is smaller than the nID.
func (n *NamespacedMerkleTree) calculateAbsenceIndex(nID namespace.ID) int {
nidSize := n.treeHasher.NamespaceSize()
var prevLeaf []byte
Expand Down

0 comments on commit ed09463

Please sign in to comment.