From cc1d61c401e52ba3b6cd264c5400fb7ab52522dc Mon Sep 17 00:00:00 2001 From: hozan23 Date: Wed, 22 May 2024 18:23:14 +0200 Subject: p2p: add enable_monitor field to Config --- p2p/examples/monitor.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'p2p/examples') 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() }; -- cgit v1.2.3