aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-15 11:44:04 +0800
committerGitHub <noreply@github.com>2019-04-15 11:44:04 +0800
commit79be89a6b0b1d24b889e7c9fe0244026af4d49d0 (patch)
treebacd2dd8a224d2cffbe9965439707df7fa2888de /core/configuration-chain.go
parent7abe09214fbf04f9f1f7f4f6ec57cd1f924953d6 (diff)
downloadtangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.gz
tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.zst
tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.zip
core: Add DKGSuccess (#569)
* core: Add DKGSuccess * core: reset if not enough of dkg success
Diffstat (limited to 'core/configuration-chain.go')
-rw-r--r--core/configuration-chain.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/configuration-chain.go b/core/configuration-chain.go
index e9e04a2..4e70ff0 100644
--- a/core/configuration-chain.go
+++ b/core/configuration-chain.go
@@ -400,6 +400,7 @@ func (cc *configurationChain) runDKGPhaseNine(round uint64, reset uint64) error
cc.db.PutDKGPrivateKey(round, reset, *signer.privateKey); err != nil {
return err
}
+ cc.dkg.proposeSuccess()
cc.dkgResult.Lock()
defer cc.dkgResult.Unlock()
cc.dkgSigner[round] = signer