From d7cd59a7253fc04848859416c49c461891900c97 Mon Sep 17 00:00:00 2001 From: benesjan Date: Fri, 27 Sep 2024 14:21:55 +0000 Subject: [PATCH] fix --- yarn-project/end-to-end/src/e2e_block_building.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/end-to-end/src/e2e_block_building.test.ts b/yarn-project/end-to-end/src/e2e_block_building.test.ts index d7ae4b8be25..c528e1a8e06 100644 --- a/yarn-project/end-to-end/src/e2e_block_building.test.ts +++ b/yarn-project/end-to-end/src/e2e_block_building.test.ts @@ -294,7 +294,7 @@ describe('e2e_block_building', () => { expect(rct.status).toEqual('success'); const noteValues = tx.noteEncryptedLogs.unrollLogs().map(l => { const notePayload = L1NotePayload.decryptAsIncoming(l, keys.masterIncomingViewingSecretKey); - return notePayload?.note; + return notePayload?.note.items[0]; }); expect(noteValues[0]).toEqual(new Fr(10)); expect(noteValues[1]).toEqual(new Fr(11));