aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/examples/monitor')
-rw-r--r--p2p/examples/monitor/src/client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2p/examples/monitor/src/client.rs b/p2p/examples/monitor/src/client.rs
index 2f4d00d..27e7b6f 100644
--- a/p2p/examples/monitor/src/client.rs
+++ b/p2p/examples/monitor/src/client.rs
@@ -26,17 +26,17 @@ fn main() {
.await
.expect("Create rpc client");
- let (_, sub) = rpc
+ let sub = rpc
.subscribe("MonitorRPC.conn_subscribe", ())
.await
.expect("Subscribe to connection events");
- let (_, sub2) = rpc
+ let sub2 = rpc
.subscribe("MonitorRPC.peer_pool_subscribe", ())
.await
.expect("Subscribe to peer pool events");
- let (_, sub3) = rpc
+ let sub3 = rpc
.subscribe("MonitorRPC.discovery_subscribe", ())
.await
.expect("Subscribe to discovery events");