Skip to content

Commit

Permalink
p2p/monitor: fix issues regarding changes in jsonrpc api
Browse files Browse the repository at this point in the history
  • Loading branch information
hozan23 committed Jun 23, 2024
1 parent b95bf6c commit f481854
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p2p/examples/monitor/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f481854

Please sign in to comment.