From 95816d339fb35f60bb1d98ad7752967fa7b299d1 Mon Sep 17 00:00:00 2001 From: unknownunknown1 Date: Fri, 25 Oct 2024 02:43:51 +1000 Subject: [PATCH] chore: fix script error --- evidence-display/src/containers/realitio.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/evidence-display/src/containers/realitio.js b/evidence-display/src/containers/realitio.js index 2c15b87..33bd3de 100644 --- a/evidence-display/src/containers/realitio.js +++ b/evidence-display/src/containers/realitio.js @@ -72,10 +72,6 @@ class RealitioDisplayInterface extends Component { toBlock: parseInt(arbitrationCreatedBlock), }); - if (arbitrationCreatedLogs.length != 1) { - return rejectScript("Could not find the dispute"); - } - const questionID = arbitrationCreatedLogs[0].returnValues._questionID; const questionEventLog = await realitio.getPastEvents("LogNewQuestion", { filter: { question_id: questionID },