Skip to content

Commit 14994db

Browse files
committed
fix: bug fix in subgraph
1 parent 6cd4369 commit 14994db

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)