From a0fc77e323d595553a0246de8c368fba63698711 Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Thu, 14 Dec 2023 15:00:20 +0100 Subject: [PATCH] test out-of-order multiproof request --- src/standard.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standard.test.ts b/src/standard.test.ts index f460680..132189d 100644 --- a/src/standard.test.ts +++ b/src/standard.test.ts @@ -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]!));