Skip to content

Commit 5cbffee

Browse files
Harman-singh-waraichjaybuidl
authored andcommitted
refactor(subgraph): refactor-variable-name
1 parent b784ca9 commit 5cbffee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subgraph/core/src/entities/Round.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function createRoundFromRoundInfo(
2020
round.repartitions = roundInfo.repartitions;
2121
round.penalties = roundInfo.pnkPenalties;
2222
round.dispute = disputeID.toString();
23-
const courtID = contract.disputes(disputeID);
24-
round.court = courtID.value0.toString();
23+
const courtID = contract.disputes(disputeID).value0.toString();
24+
round.court = courtID;
2525
round.save();
2626
}

0 commit comments

Comments
 (0)