Skip to content

Commit

Permalink
revises some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Apr 25, 2023
1 parent c8a8059 commit 8a27636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ func TestVerifyNamespace_EmptyProof(t *testing.T) {
root, err := tree.Root()
require.NoError(t, err)

// build a proof for an NID that is outside tree range of the tree
// build a proof for an NID that is outside the namespace range of the tree
// start = end = 0, nodes = empty
nID0 := []byte{0}
validEmptyProofZeroRange, err := tree.ProveNamespace(nID0)
require.NoError(t, err)

// build a proof for an NID that is outside tree range of the tree
// build a proof for an NID that is outside the namespace range of the tree
// start = end = 1, nodes = nil
validEmptyProofNonZeroRange, err := tree.ProveNamespace(nID0)
require.NoError(t, err)
Expand Down

0 comments on commit 8a27636

Please sign in to comment.