Skip to content

Commit 74ddb10

Browse files
committed
fix?
1 parent 832ff22 commit 74ddb10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn-project/circuit-types/src/logs/l1_payload/encrypted_log_payload.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class EncryptedLogPayload {
231231
e.message.startsWith('Invalid AztecAddress length') ||
232232
e.message.startsWith('Selector must fit in') ||
233233
e.message.startsWith('Attempted to read beyond buffer length') ||
234-
e.message.startsWith('RangeError [ERR_BUFFER_OUT_OF_BOUNDS]:')
234+
e.name === 'RangeError'
235235
);
236236
}
237237

0 commit comments

Comments
 (0)