diff options
author | Wei-Ning Huang <w@byzantine-lab.io> | 2019-08-05 16:59:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:31 +0800 |
commit | 562b8e09900cd5196922fa4d306d428b9b88e170 (patch) | |
tree | 4c7fb25d6077e6b80e8863e1fc81447c69f23e59 | |
parent | c744f2cafa476f6a1a38a0a3a24e031883d9c853 (diff) | |
download | go-tangerine-562b8e09900cd5196922fa4d306d428b9b88e170.tar.gz go-tangerine-562b8e09900cd5196922fa4d306d428b9b88e170.tar.zst go-tangerine-562b8e09900cd5196922fa4d306d428b9b88e170.zip |
core: vm: use correct notary set size when verifying CRS
-rw-r--r-- | core/vm/oracle_contracts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/oracle_contracts.go b/core/vm/oracle_contracts.go index e1408d8d2..ddcd6d3f6 100644 --- a/core/vm/oracle_contracts.go +++ b/core/vm/oracle_contracts.go @@ -1980,7 +1980,7 @@ func (g *GovernanceContract) proposeCRS(nextRound *big.Int, signedCRS []byte) ([ } threshold := coreUtils.GetDKGThreshold(&coreTypes.Config{ - NotarySetSize: uint32(g.state.NotarySetSize().Uint64())}) + NotarySetSize: uint32(g.configNotarySetSize(nextRound).Uint64())}) dkgGPK, err := g.coreDKGUtil.NewGroupPublicKey(&g.state, nextRound, threshold) if err != nil { return nil, errExecutionReverted |