Skip to content

Commit

Permalink
DKG is not ownable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeaster committed Sep 28, 2022
1 parent 6d55299 commit 4be899e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/DKG.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Bn128} from "./Bn128.sol";
import {DKGFactory} from "./DKGFactory.sol";

Expand All @@ -18,7 +17,7 @@ error InvalidSharesCount();
error InvalidCommitmentsCount();
error InvalidCommitment(uint256 index);

contract DKG is Ownable, IThresholdNetwork {
contract DKG is IThresholdNetwork {
// The maximum number of participants
uint16 public constant MAX_PARTICIPANTS = 1000;
// how many rounds/blocks compose one DKG phase
Expand Down Expand Up @@ -76,7 +75,7 @@ contract DKG is Ownable, IThresholdNetwork {
);
event ValidComplaint(address from, uint32 evicted);

constructor(DKGFactory _factory) Ownable() {
constructor(DKGFactory _factory) {
initTime = block.number;
registrationTime = initTime + BLOCKS_PER_PHASE;
dealTime = registrationTime + BLOCKS_PER_PHASE;
Expand Down

0 comments on commit 4be899e

Please sign in to comment.