aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/monitor/src
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-06-23 16:32:20 +0200
committerhozan23 <hozan23@karyontech.net>2024-06-23 16:32:20 +0200
commitf4818540c262350e0a27adb6a58652d0fe6b8943 (patch)
treec0ba0ec6ac7f35f875bcc4fa07fd3642c36ee6d3 /p2p/examples/monitor/src
parentb95bf6ce8ccc19d9702183574574d3721781a93a (diff)
p2p/monitor: fix issues regarding changes in jsonrpc api
Diffstat (limited to 'p2p/examples/monitor/src')
-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");