From f4818540c262350e0a27adb6a58652d0fe6b8943 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Sun, 23 Jun 2024 16:32:20 +0200 Subject: p2p/monitor: fix issues regarding changes in jsonrpc api --- p2p/examples/monitor/src/client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'p2p/examples') 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"); -- cgit v1.2.3