diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-12-20 17:26:30 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-12-20 17:26:30 +0800 |
commit | 146ed32cf841151b826eafd7d6ade188c56865bf (patch) | |
tree | 8219523064a383caa8cad5320700429f07990f65 | |
parent | 24783a4b3d4a23256e1e16c9f35191c7de4bb7ee (diff) | |
download | dexon-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
-rw-r--r-- | core/consensus.go | 1 |
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)) |