From 656c2752d8bdda6f4228f189a1f53034c4f57784 Mon Sep 17 00:00:00 2001 From: Yaco 0x Date: Tue, 17 Sep 2024 16:21:14 -0300 Subject: [PATCH] fix: remove unneeded type casting --- packages/automated-dispute/src/services/eboProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/automated-dispute/src/services/eboProcessor.ts b/packages/automated-dispute/src/services/eboProcessor.ts index 9d9dd7f..2a7b168 100644 --- a/packages/automated-dispute/src/services/eboProcessor.ts +++ b/packages/automated-dispute/src/services/eboProcessor.ts @@ -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...`);