Skip to content

Commit f4ed9a0

Browse files
authored
Merge pull request #2048 from kleros/fix/leaderboard-juror-count
fix(subgraph): total-leaderboard-jurors-count
2 parents 88f0a3e + f36904e commit f4ed9a0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

subgraph/core/src/KlerosCore.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ export function handleNewPeriod(event: NewPeriod): void {
166166
continue;
167167
}
168168

169-
if (vote.choice === null) continue;
169+
if (vote.choice === null) {
170+
juror.save();
171+
continue;
172+
}
170173

171174
// Check if the vote choice matches the final ruling
172175
if (vote.choice!.equals(dispute.currentRuling)) {

subgraph/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kleros/kleros-v2-subgraph",
3-
"version": "0.17.0",
3+
"version": "0.17.1",
44
"drtVersion": "0.13.0",
55
"license": "MIT",
66
"scripts": {

0 commit comments

Comments
 (0)