Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pkg): typo fix #2920

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/appconsts/global_consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
ShareSize = 512

// ShareInfoBytes is the number of bytes reserved for information. The info
// byte contains the share version and a sequence start idicator.
// byte contains the share version and a sequence start indicator.
ShareInfoBytes = 1

// SequenceLenBytes is the number of bytes reserved for the sequence length
Expand Down Expand Up @@ -78,7 +78,7 @@ const (
)

var (
// DataCommitmentBlocksLimit is the maximnum number of blocks that a data commitment can span
// DataCommitmentBlocksLimit is the maximum number of blocks that a data commitment can span
DataCommitmentBlocksLimit = consts.DataCommitmentBlocksLimit

// NewBaseHashFunc is the base hash function used by NMT. Change accordingly
Expand Down
4 changes: 2 additions & 2 deletions pkg/wrapper/nmt_wrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ func TestErasuredNamespacedMerkleTree_ProveRange(t *testing.T) {
} else {
namespaceID = appns.ParitySharesNamespace.Bytes()
}
verfied := proof.VerifyInclusion(appconsts.NewBaseHashFunc(), namespaceID, [][]byte{data[i]}, root)
assert.True(t, verfied)
verified := proof.VerifyInclusion(appconsts.NewBaseHashFunc(), namespaceID, [][]byte{data[i]}, root)
assert.True(t, verified)
}
}
}
Loading