Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
Merge pull request #34 from kleros/feat/script-update
Browse files Browse the repository at this point in the history
chore: fix script error
  • Loading branch information
unknownunknown1 authored Oct 24, 2024
2 parents 8c0f567 + 95816d3 commit 31734b4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions evidence-display/src/containers/realitio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 31734b4

Please sign in to comment.