From 8630a5e99caa921acdfe6e884584446851bb402d Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Mon, 15 Oct 2018 15:50:11 +0800 Subject: core: vm: modify dkg threshold --- core/vm/governance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/vm/governance.go b/core/vm/governance.go index 3583e0cc1..c9ab74bd7 100644 --- a/core/vm/governance.go +++ b/core/vm/governance.go @@ -1540,7 +1540,7 @@ func (g *GovernanceContract) proposeCRS(signedCRS []byte) ([]byte, error) { dkgComplaints = append(dkgComplaints, x) } - threshold := int(g.state.DKGSetSize().Uint64() / 3) + threshold := int(g.state.DKGSetSize().Uint64() / 3 + 1) dkgGPK, err := core.NewDKGGroupPublicKey( round.Uint64(), dkgMasterPKs, dkgComplaints, threshold) -- cgit v1.2.3