aboutsummaryrefslogtreecommitdiffstats
path: root/simulation
diff options
context:
space:
mode:
Diffstat (limited to 'simulation')
-rw-r--r--simulation/node.go3
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)
}