Skip to content

Commit

Permalink
explicitly checking 0
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Apr 4, 2024
1 parent 9c20774 commit 1196ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/pxe/src/note_processor/note_processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class NoteProcessor {
`Number of blocks and EncryptedLogs is not equal. Received ${l2Blocks.length} blocks, ${encryptedL2BlockLogs.length} encrypted logs.`,
);
}
if (!l2Blocks.length) {
if (l2Blocks.length === 0) {
return;
}

Expand Down

0 comments on commit 1196ebc

Please sign in to comment.