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 /cmd | |
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 'cmd')
-rw-r--r-- | cmd/dexcon-simulation-with-scheduler/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/dexcon-simulation-with-scheduler/main.go b/cmd/dexcon-simulation-with-scheduler/main.go index 8b7c252..bf0708b 100644 --- a/cmd/dexcon-simulation-with-scheduler/main.go +++ b/cmd/dexcon-simulation-with-scheduler/main.go @@ -29,6 +29,7 @@ import ( "runtime/pprof" "time" + "github.com/dexon-foundation/dexon-consensus/core" "github.com/dexon-foundation/dexon-consensus/core/test" integration "github.com/dexon-foundation/dexon-consensus/integration_test" "github.com/dexon-foundation/dexon-consensus/simulation/config" @@ -81,7 +82,9 @@ func main() { } // Setup governance instance. gov, err := test.NewGovernance( - pubKeys, time.Duration(cfg.Networking.Mean)*time.Millisecond) + pubKeys, + time.Duration(cfg.Networking.Mean)*time.Millisecond, + core.ConfigRoundShift) if err != nil { log.Fatal("could not setup governance: ", err) } |