We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583dfe7 commit a41294aCopy full SHA for a41294a
contracts/src/arbitration/KlerosCore.sol
@@ -425,7 +425,6 @@ contract KlerosCore is IArbitrator {
425
/// @param _disputeKitIDs The IDs of dispute kits which support should be added/removed.
426
/// @param _enable Whether add or remove the dispute kits from the court.
427
function enableDisputeKits(uint96 _courtID, uint256[] memory _disputeKitIDs, bool _enable) external onlyByGovernor {
428
- Court storage court = courts[_courtID];
429
for (uint256 i = 0; i < _disputeKitIDs.length; i++) {
430
if (_enable) {
431
require(_disputeKitIDs[i] > 0 && _disputeKitIDs[i] < disputeKitNodes.length, "Wrong DK index");
0 commit comments