Skip to content

Commit

Permalink
fix: remove unneeded type casting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyaco committed Sep 17, 2024
1 parent ae18b0c commit 656c275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/automated-dispute/src/services/eboProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class EboProcessor {
if (this.isChainSupported(chainId)) {
this.logger.info(`Creating a new EboActor to handle request ${requestId}...`);

return this.createNewActor(firstEvent as EboEvent<"RequestCreated">);
return this.createNewActor(firstEvent);
} else {
this.logger.warn(`Chain ${chainId} not supported by the agent. Skipping...`);

Expand Down

0 comments on commit 656c275

Please sign in to comment.