diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-19 16:22:55 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-13 18:11:42 +0800 |
commit | 52abd7878fc59776550c73b0e1c6746448c83c17 (patch) | |
tree | 5824ad4b21fd51b2bfb496914791d71de99dfceb /core/governance.go | |
parent | 55e22571a1cd5ef5d27a29ab1b0ecfb1b78cb264 (diff) | |
download | go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar.gz go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar.bz2 go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar.lz go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar.xz go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.tar.zst go-tangerine-52abd7878fc59776550c73b0e1c6746448c83c17.zip |
core: vm: automatically calculate notary set size (#276)
Diffstat (limited to 'core/governance.go')
-rw-r--r-- | core/governance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/governance.go b/core/governance.go index db0e60b6c..da310a1cd 100644 --- a/core/governance.go +++ b/core/governance.go @@ -99,7 +99,7 @@ func (g *Governance) Configuration(round uint64) *coreTypes.Config { return &coreTypes.Config{ LambdaBA: time.Duration(c.LambdaBA) * time.Millisecond, LambdaDKG: time.Duration(c.LambdaDKG) * time.Millisecond, - NotarySetSize: c.NotarySetSize, + NotarySetSize: uint32(configHelper.NotarySetSize().Uint64()), DKGSetSize: c.DKGSetSize, RoundLength: c.RoundLength, MinBlockInterval: time.Duration(c.MinBlockInterval) * time.Millisecond, |