aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/configuration-chain.go')
-rw-r--r--core/configuration-chain.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/configuration-chain.go b/core/configuration-chain.go
index a4636cb..4938ba0 100644
--- a/core/configuration-chain.go
+++ b/core/configuration-chain.go
@@ -91,6 +91,8 @@ func (cc *configurationChain) registerDKG(round uint64, threshold int) {
defer cc.dkgLock.Unlock()
if cc.dkg != nil {
cc.logger.Error("Previous DKG is not finished")
+ // TODO(mission): do we have to retry DKG initiation here?
+ return
}
dkgSet, err := cc.cache.GetDKGSet(round)
if err != nil {