aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/dexcon-simulation-with-scheduler/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dexcon-simulation-with-scheduler/main.go')
-rw-r--r--cmd/dexcon-simulation-with-scheduler/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dexcon-simulation-with-scheduler/main.go b/cmd/dexcon-simulation-with-scheduler/main.go
index 1ce9c99..8d59825 100644
--- a/cmd/dexcon-simulation-with-scheduler/main.go
+++ b/cmd/dexcon-simulation-with-scheduler/main.go
@@ -69,8 +69,8 @@ func main() {
}
// Setup latencies, nodes.
networkLatency := &test.NormalLatencyModel{
- Sigma: cfg.Networking.Sigma,
- Mean: cfg.Networking.Mean,
+ Sigma: cfg.Networking.Direct.Sigma,
+ Mean: cfg.Networking.Direct.Mean,
}
proposingLatency := &test.NormalLatencyModel{
Sigma: cfg.Node.Legacy.ProposeIntervalSigma,
@@ -85,7 +85,7 @@ func main() {
gov, err := test.NewGovernance(
test.NewState(
pubKeys,
- time.Duration(cfg.Networking.Mean)*time.Millisecond,
+ time.Duration(cfg.Networking.Direct.Mean)*time.Millisecond,
&common.NullLogger{},
true,
), core.ConfigRoundShift)