Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Apr 30, 2021
1 parent 5a579cf commit 748588d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions p2p/ipld/nmt_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ var _ rsmt2d.Tree = &ErasuredNamespacedMerkleTree{}
// ErasuredNamespacedMerkleTree wraps NamespaceMerkleTree to conform to the
// rsmt2d.Tree interface while also providing the correct namespaces to the
// underlying NamespaceMerkleTree. It does this by adding the already included
// namespace to the first half of the tree, and then uses the it uses the parity
// namespace ID for each share pushed to the second half of the tree. This
// allows for the namespaces to be included in the erasure data, while also
// keeping constant share size.
// namespace to the first half of the tree, and then uses the parity namespace
// ID for each share pushed to the second half of the tree. This allows for the
// namespaces to be included in the erasure data, while also keeping the nmt
// library sufficiently general
type ErasuredNamespacedMerkleTree struct {
squareSize uint64 // note: this refers to the width of the original square before erasure-coded
options []nmt.Option
Expand Down

0 comments on commit 748588d

Please sign in to comment.