diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-13 16:28:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 16:28:24 +0800 |
commit | 01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (patch) | |
tree | a8ebe89570de317d7be047f32c8c35334e78c919 /simulation | |
parent | 86838fe70789292de0851f82426e5241c0f0cc96 (diff) | |
download | tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.gz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.bz2 tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.lz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.xz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.zst tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.zip |
core: expose implicit round shift (#321)
Diffstat (limited to 'simulation')
-rw-r--r-- | simulation/node.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simulation/node.go b/simulation/node.go index 1127f5a..8c398cf 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -87,7 +87,8 @@ func newNode( } // Sync config to state in governance. cConfig := config.Node.Consensus - gov, err := test.NewGovernance([]crypto.PublicKey{pubKey}, time.Millisecond) + gov, err := test.NewGovernance( + []crypto.PublicKey{pubKey}, time.Millisecond, core.ConfigRoundShift) if err != nil { panic(err) } |