Skip to content

Commit

Permalink
chore: clarify docs further
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <rootulp@gmail.com>
  • Loading branch information
evan-forbes and rootulp committed Feb 22, 2023
1 parent 68a1ea6 commit 84a492c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/wrapper/nmt_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ type ErasuredNamespacedMerkleTree struct {
// axisIndex is the index of the axis that this tree is on. This is passed
// by rsmt2d and used to help determine which quadrant each leaf belongs to.
axisIndex uint64
// shareIndex is the index of the share that is being pushed to the tree. It
// is used to help determine which quadrant each leaf belongs to.
// shareIndex is the index of the share in a row or column that is being
// pushed to the tree. It is expected to be in the range: 0 <= shareIndex <
// 2*squareSize. shareIndex is used to help determine which quadrant each
// leaf belongs to.
shareIndex uint64
}

Expand Down

0 comments on commit 84a492c

Please sign in to comment.