Skip to content

Commit

Permalink
removing incorrect error check
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 16, 2025
1 parent e4b7895 commit 16c0840
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions yarn-project/pxe/src/pxe_service/pxe_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,6 @@ export class PXEService implements PXE {
if (!visibleEvent.eventTypeId.equals(eventMetadata.eventSelector)) {
return undefined;
}
if (visibleEvent.event.items.length !== eventMetadata.fieldNames.length) {
throw new Error(
'Something is weird here, we have matching EventSelectors, but the actual payload has mismatched length',
);
}

return eventMetadata.decode(visibleEvent);
})
Expand Down

0 comments on commit 16c0840

Please sign in to comment.