Skip to content

Commit

Permalink
revert: change to broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Apr 17, 2024
1 parent e165cd5 commit 2a2e9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func TestNamespacedMerkleTreeRoot(t *testing.T) {
wantRoot []byte
}{
// default empty root according to base case:
// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#namespace-merkle-tree
// https://github.com/celestiaorg/celestiaorg-specs/blob/master/specs/data_structures.md#namespace-merkle-tree
{"Empty", 3, nil, appendAll(zeroNs, zeroNs, emptyRoot)},
{"One leaf", 3, []namespaceDataPair{newNamespaceDataPair(zeroNs, leafData)}, appendAll(zeroNs, zeroNs, sum(crypto.SHA256, []byte{LeafPrefix}, zeroNs, leafData))},
{"Two leaves", 3, []namespaceDataPair{newNamespaceDataPair(zeroNs, leafData), newNamespaceDataPair(zeroNs, leafData)}, appendAll(zeroNs, zeroNs, twoZeroLeafsRoot)},
Expand Down

0 comments on commit 2a2e9ea

Please sign in to comment.