aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-20 17:26:30 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2018-12-20 17:26:30 +0800
commit146ed32cf841151b826eafd7d6ade188c56865bf (patch)
tree8219523064a383caa8cad5320700429f07990f65 /core
parent24783a4b3d4a23256e1e16c9f35191c7de4bb7ee (diff)
downloaddexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar.gz
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar.bz2
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar.lz
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar.xz
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.tar.zst
dexon-consensus-146ed32cf841151b826eafd7d6ade188c56865bf.zip
core: Add TODO
Diffstat (limited to 'core')
-rw-r--r--core/consensus.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/consensus.go b/core/consensus.go
index 03d2c2f..e45e4be 100644
--- a/core/consensus.go
+++ b/core/consensus.go
@@ -576,6 +576,7 @@ func (con *Consensus) prepare(initBlock *types.Block) error {
if err != nil {
return err
}
+ // TODO(jimmy): registerDKG should be called after dmoment.
if _, exist := dkgSet[con.ID]; exist {
con.logger.Info("Selected as DKG set", "round", initRound)
con.cfgModule.registerDKG(initRound, getDKGThreshold(initConfig))