Skip to content

Commit 142273c

Browse files
authored
Merge pull request #1995 from kleros/fix(subgraph)/localrounds-fix
fix: bug fix in subgraph
2 parents 6cd4369 + 14994db commit 142273c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subgraph/core/src/DisputeKitClassic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function handleChoiceFunded(event: ChoiceFunded): void {
161161
const localDispute = ClassicDispute.load(`${disputeKitID}-${coreDisputeID}`);
162162
if (!localDispute) return;
163163

164-
if (BigInt.fromString(disputeKitID) === newDisputeKitID) {
164+
if (BigInt.fromString(disputeKitID).equals(newDisputeKitID)) {
165165
const newRoundIndex = localDispute.currentLocalRoundIndex.plus(ONE);
166166
const numberOfChoices = localDispute.numberOfChoices;
167167
localDispute.currentLocalRoundIndex = newRoundIndex;

subgraph/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kleros/kleros-v2-subgraph",
3-
"version": "0.16.1",
3+
"version": "0.16.2",
44
"drtVersion": "0.12.0",
55
"license": "MIT",
66
"scripts": {

0 commit comments

Comments
 (0)