aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-05-22 18:23:14 +0200
committerhozan23 <hozan23@karyontech.net>2024-05-22 18:23:14 +0200
commitcc1d61c401e52ba3b6cd264c5400fb7ab52522dc (patch)
treef427aca981dbc9e526d4dec54971b44016b542cd /p2p/examples
parent5df6812dd2254b871eb773dc626b89646ca87495 (diff)
p2p: add enable_monitor field to Config
Diffstat (limited to 'p2p/examples')
-rw-r--r--p2p/examples/monitor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/examples/monitor.rs b/p2p/examples/monitor.rs
index 7b9e5d2..32c8959 100644
--- a/p2p/examples/monitor.rs
+++ b/p2p/examples/monitor.rs
@@ -45,6 +45,7 @@ fn main() {
peer_endpoints: cli.peer_endpoints,
bootstrap_peers: cli.bootstrap_peers,
discovery_port: cli.discovery_port.unwrap_or(0),
+ enable_monitor: true,
..Default::default()
};