Skip to content

Commit

Permalink
rust: fixed compiler warning in the example
Browse files Browse the repository at this point in the history
Changelog-None: rust: fixed compiler warning in the example

Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo authored and rustyrussell committed Mar 28, 2022
1 parent aad4495 commit 7e6893a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cln-rpc/examples/getinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ use tokio;

#[tokio::main]
async fn main() -> Result<(), anyhow::Error> {
// initialize the log inside the library
env_logger::init();

let rpc_path = args().nth(1).context("missing argument: socket path")?;
let p = Path::new(&rpc_path);

Expand Down

0 comments on commit 7e6893a

Please sign in to comment.