diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-08 21:01:33 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-08 21:01:33 +0800 |
commit | 8944f1ea16c531cbccc3f01d91854e942e040871 (patch) | |
tree | 26c1e693771d395cef5499db22ad2cadba29f79e /simulation/governance.go | |
parent | 910fd2621b4110c2747561ef38c84413dd9ce117 (diff) | |
download | dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.gz dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.bz2 dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.lz dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.xz dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.tar.zst dexon-consensus-8944f1ea16c531cbccc3f01d91854e942e040871.zip |
core: update config variable name grammar and remove configuration (#184)
Diffstat (limited to 'simulation/governance.go')
-rw-r--r-- | simulation/governance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simulation/governance.go b/simulation/governance.go index f357b26..23e1884 100644 --- a/simulation/governance.go +++ b/simulation/governance.go @@ -96,8 +96,8 @@ func (g *simGovernance) Configuration(round uint64) *types.Config { LambdaDKG: g.lambdaDKG, K: g.k, PhiRatio: g.phiRatio, - NumNotarySet: len(g.nodeSet), - NumDKGSet: len(g.nodeSet), + NotarySetSize: uint32(len(g.nodeSet)), + DKGSetSize: uint32(len(g.nodeSet)), MinBlockInterval: g.lambdaBA * 3, MaxBlockInterval: g.lambdaBA * 8, RoundInterval: g.roundInterval, |