diff options
author | hozan23 <hozan23@karyontech.net> | 2024-05-22 18:23:14 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-05-22 18:23:14 +0200 |
commit | cc1d61c401e52ba3b6cd264c5400fb7ab52522dc (patch) | |
tree | f427aca981dbc9e526d4dec54971b44016b542cd /p2p/examples | |
parent | 5df6812dd2254b871eb773dc626b89646ca87495 (diff) |
p2p: add enable_monitor field to Config
Diffstat (limited to 'p2p/examples')
-rw-r--r-- | p2p/examples/monitor.rs | 1 |
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() }; |