File tree 1 file changed +0
-19
lines changed
contracts/src/arbitration 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -257,25 +257,6 @@ contract KlerosCore is IArbitrator {
257
257
disputeKitNodes[_parent].children.push (disputeKitID);
258
258
}
259
259
260
- /** @dev Changes the parent of an existing dispute kit.
261
- * @param _disputeKitID The ID of dispute kit.
262
- * @param _newParent The ID of the new parent dispute kit. It is left empty when root DK is created.
263
- * Note that the root DK must be supported by the forking court.
264
- */
265
- function changeDisputeKitParent (uint256 _disputeKitID , uint256 _newParent ) external onlyByGovernor {
266
- require (_disputeKitID < disputeKitNodes.length , "DisputeKitID doesn't exist " );
267
- require (_newParent < disputeKitNodes.length , "NewParent doesn't exist " );
268
- require (_newParent != _disputeKitID, "Invalid Parent " );
269
-
270
- // Create new tree, which root should be supported by Forking court.
271
- if (_newParent == NULL_DISPUTE_KIT) {
272
- courts[FORKING_COURT].supportedDisputeKits[_disputeKitID] = true ;
273
- }
274
- disputeKitNodes[_disputeKitID].parent = _newParent;
275
-
276
- // FIXME: update the children and depth
277
- }
278
-
279
260
/** @dev Creates a subcourt under a specified parent court.
280
261
* @param _parent The `parent` property value of the subcourt.
281
262
* @param _hiddenVotes The `hiddenVotes` property value of the subcourt.
You can’t perform that action at this time.
0 commit comments