Skip to content

Commit cf077e4

Browse files
committed
refactor: removed unnecessary base contract for Stake Controller and Sortition Sum Tree
1 parent 23a5504 commit cf077e4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

contracts/src/arbitration/KlerosCoreBase.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,9 @@ abstract contract KlerosCoreBase is IArbitratorV2, Initializable, UUPSProxiable
363363
court.feeForJuror = _feeForJuror;
364364
court.jurorsForCourtJump = _jurorsForCourtJump;
365365
court.timesPerPeriod = _timesPerPeriod;
366+
courts[_parent].children.push(courtID);
366367

367368
stakeController.createTree(bytes32(courtID), _sortitionExtraData);
368-
if (_parent != FORKING_COURT) {
369-
courts[_parent].children.push(courtID);
370-
}
371369

372370
emit CourtCreated(
373371
uint96(courtID),

0 commit comments

Comments
 (0)