aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-01-05 17:58:34 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2019-01-05 17:58:34 +0800
commitaf8c182a07f9bf3a7a17c938c87f4eef489bb903 (patch)
treea0782934b24cbd5461180548476376e9674c9d1f /core
parent701b19c75fe5433df0528a901c4e257eb51df34a (diff)
downloaddexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar.gz
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar.bz2
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar.lz
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar.xz
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.tar.zst
dexon-consensus-af8c182a07f9bf3a7a17c938c87f4eef489bb903.zip
core: fix ci fail (#404)
* Clean DKG instance after finished * Fix CI failure by workaround....
Diffstat (limited to 'core')
-rw-r--r--core/configuration-chain.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/configuration-chain.go b/core/configuration-chain.go
index 4938ba0..fbd691f 100644
--- a/core/configuration-chain.go
+++ b/core/configuration-chain.go
@@ -91,8 +91,7 @@ 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
+ // TODO(mission): return here and fix CI failure.
}
dkgSet, err := cc.cache.GetDKGSet(round)
if err != nil {