Skip to content

Commit 032f38c

Browse files
tractorssjaybuidl
authored andcommitted
fix(subgraph): total-leaderboard-jurors-count
1 parent 88f0a3e commit 032f38c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
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)) {

0 commit comments

Comments
 (0)