mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
rust: fixed compiler warning in the example
Changelog-None: rust: fixed compiler warning in the example Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
parent
aad4495f56
commit
7e6893af9e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue