aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/governance.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-08 21:01:33 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2018-10-08 21:01:33 +0800
commit8944f1ea16c531cbccc3f01d91854e942e040871 (patch)
tree26c1e693771d395cef5499db22ad2cadba29f79e /core/test/governance.go
parent910fd2621b4110c2747561ef38c84413dd9ce117 (diff)
downloadtangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.gz
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.bz2
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.lz
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.xz
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.zst
tangerine-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.zip
core: update config variable name grammar and remove configuration (#184)
Diffstat (limited to 'core/test/governance.go')
-rw-r--r--core/test/governance.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/test/governance.go b/core/test/governance.go
index f013534..24fd2de 100644
--- a/core/test/governance.go
+++ b/core/test/governance.go
@@ -95,8 +95,8 @@ func (g *Governance) Configuration(_ uint64) *types.Config {
LambdaDKG: g.lambdaDKG,
K: 0,
PhiRatio: 0.667,
- NumNotarySet: len(g.privateKeys),
- NumDKGSet: len(g.privateKeys),
+ NotarySetSize: uint32(len(g.privateKeys)),
+ DKGSetSize: uint32(len(g.privateKeys)),
RoundInterval: g.RoundInterval,
MinBlockInterval: g.MinBlockInterval,
MaxBlockInterval: g.MaxBlockInterval,