Skip to content

Commit

Permalink
fixup! cln-plugin: Implement logging facade adapter for cln plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 26, 2022
1 parent 3bc3d26 commit b717005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cln-rpc/examples/getinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ async fn main() -> Result<(), anyhow::Error> {

let mut rpc = ClnRpc::new(p).await?;
let response = rpc.call(Request::Getinfo(GetinfoRequest {})).await?;
info!("{}", serde_json::to_string_pretty(&response)?);
println!("{}", serde_json::to_string_pretty(&response)?);
Ok(())
}

0 comments on commit b717005

Please sign in to comment.