From 8944f1ea16c531cbccc3f01d91854e942e040871 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 8 Oct 2018 21:01:33 +0800 Subject: core: update config variable name grammar and remove configuration (#184) --- simulation/governance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'simulation/governance.go') 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, -- cgit v1.2.3