mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-25 18:14:19 +01:00
cln-rpc: Fixed two minor compiler warnings
This commit is contained in:
committed by
Rusty Russell
parent
487b5e6169
commit
a8aa9bd5ae
@@ -5,7 +5,6 @@ use anyhow::Result;
|
||||
use std::path::{Path, PathBuf};
|
||||
use cln_rpc::model::requests;
|
||||
use log::debug;
|
||||
use crate::convert::*;
|
||||
use tonic::{Code, Status};
|
||||
|
||||
#[derive(Clone)]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
use anyhow::Context;
|
||||
use cln_rpc::{model::GetinfoRequest, ClnRpc, Request};
|
||||
use log::info;
|
||||
use std::env::args;
|
||||
use std::path::Path;
|
||||
use tokio;
|
||||
|
||||
@@ -397,7 +397,6 @@ class GrpcServerGenerator(GrpcConverterGenerator):
|
||||
use std::path::{{Path, PathBuf}};
|
||||
use cln_rpc::model::requests;
|
||||
use log::debug;
|
||||
use crate::convert::*;
|
||||
use tonic::{{Code, Status}};
|
||||
|
||||
#[derive(Clone)]
|
||||
|
||||
Reference in New Issue
Block a user