Skip to content

Commit

Permalink
nit: comments convention
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Sep 9, 2024
1 parent 286c878 commit 440ec22
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/mmr/mmr.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,8 @@ func (mmr *MMR[T]) findElement(position uint64, values []T) (*T, error) {
return value, nil
}

/*
Returns a bitmap of the peaks in the MMR.
Eg: 0b11 means that the MMR has 2 peaks at position 0 and at position 1
*/
// peakMap returns a bitmap of the peaks in the MMR.
// Eg: 0b11 means that the MMR has 2 peaks at position 0 and at position 1
func (mmr *MMR[T]) peakMap() uint64 {
if mmr.size == 0 {
return 0
Expand Down

0 comments on commit 440ec22

Please sign in to comment.