Skip to content

Commit

Permalink
test out-of-order multiproof request
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Dec 14, 2023
1 parent 9146e05 commit a0fc77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standard.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('standard merkle tree', () => {
});

it('generates valid multiproofs', () => {
for (const ids of [[], [0, 1], [0, 1, 5], [1, 3, 4, 5], [0, 2, 4, 5], [0, 1, 2, 3, 4, 5]]) {
for (const ids of [[], [0, 1], [0, 1, 5], [1, 3, 4, 5], [0, 2, 4, 5], [0, 1, 2, 3, 4, 5], [4, 1, 5, 0, 2]]) {
const proof1 = tree.getMultiProof(ids);
const proof2 = tree.getMultiProof(ids.map(i => leaves[i]!));

Expand Down

0 comments on commit a0fc77e

Please sign in to comment.