aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dexcon-simulation-with-scheduler/main.go5
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)
}