Skip to content

Commit 75c9510

Browse files
fix(KC): createTree bug
1 parent 2947180 commit 75c9510

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contracts/src/arbitration/KlerosCore.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ contract KlerosCore is IArbitrator {
221221
court.timesPerPeriod = _timesPerPeriod;
222222
court.supportedDisputeKits[DISPUTE_KIT_CLASSIC_INDEX] = true;
223223

224-
sortitionSumTrees.createTree(bytes32(0), _sortitionSumTreeK);
224+
// TODO: fill the properties for Forking court.
225+
sortitionSumTrees.createTree(bytes32(FORKING_COURT), _sortitionSumTreeK);
226+
sortitionSumTrees.createTree(bytes32(GENERAL_COURT), _sortitionSumTreeK);
225227
}
226228

227229
// ************************ //

0 commit comments

Comments
 (0)