diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-26 11:21:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 11:21:28 +0800 |
commit | fc8aae4eb1608ce574f853a1b1ecd60014886882 (patch) | |
tree | 8439c65d140393e7d43c9003a64ac9bda9298149 /simulation/node.go | |
parent | 929d41761b72abab106b5a4d627701d1c232e891 (diff) | |
download | dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.gz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.bz2 dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.lz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.xz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.zst dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.zip |
core: Change RoundInterval to RoundLength (#453)
Diffstat (limited to 'simulation/node.go')
-rw-r--r-- | simulation/node.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/node.go b/simulation/node.go index 7688c25..758f980 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -211,7 +211,7 @@ func (n *node) prepareConfigs() { cConfig.LambdaBA)*time.Millisecond) // #nosec G104 n.gov.State().RequestChange(test.StateChangeLambdaDKG, time.Duration( cConfig.LambdaDKG)*time.Millisecond) // #nosec G104 - n.gov.State().RequestChange(test.StateChangeRoundInterval, cConfig.RoundInterval) // #nosec G104 + n.gov.State().RequestChange(test.StateChangeRoundLength, cConfig.RoundLength) // #nosec G104 n.gov.State().RequestChange(test.StateChangeMinBlockInterval, time.Duration( cConfig.MinBlockInterval)*time.Millisecond) // #nosec G104 n.gov.State().ProposeCRS(0, crypto.Keccak256Hash([]byte(cConfig.GenesisCRS))) // #nosec G104 |