Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jun 24, 2024
1 parent 923ecee commit f32eccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/circuit-types/src/logs/l1_payload/tagged_log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class TaggedLog<Payload extends L1NotePayload | L1EventPayload> {
!e.message.endsWith('is greater or equal to field modulus.') &&
!e.message.startsWith('Invalid AztecAddress length') &&
!e.message.startsWith('Selector must fit in') &&
e.message !== 'Attempted to read beyond buffer length'
!e.message.startsWith('Attempted to read beyond buffer length')
) {
// If we encounter an unexpected error, we rethrow it
throw e;
Expand Down Expand Up @@ -145,7 +145,7 @@ export class TaggedLog<Payload extends L1NotePayload | L1EventPayload> {
!e.message.endsWith('is greater or equal to field modulus.') &&
!e.message.startsWith('Invalid AztecAddress length') &&
!e.message.startsWith('Selector must fit in') &&
e.message !== 'Attempted to read beyond buffer length'
!e.message.startsWith('Attempted to read beyond buffer length')
) {
// If we encounter an unexpected error, we rethrow it
throw e;
Expand Down

0 comments on commit f32eccd

Please sign in to comment.