We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3f3678 + 7317317 commit 0e6211bCopy full SHA for 0e6211b
ldk-server/ldk-server/src/api/connect_peer.rs
@@ -7,12 +7,14 @@
7
// You may not use this file except in accordance with one or both of these
8
// licenses.
9
10
-use crate::api::error::LdkServerError;
11
-use crate::service::Context;
+use std::str::FromStr;
+
12
use ldk_node::bitcoin::secp256k1::PublicKey;
13
use ldk_node::lightning::ln::msgs::SocketAddress;
14
use ldk_server_protos::api::{ConnectPeerRequest, ConnectPeerResponse};
15
-use std::str::FromStr;
16
+use crate::api::error::LdkServerError;
17
+use crate::service::Context;
18
19
pub(crate) fn handle_connect_peer(
20
context: Context, request: ConnectPeerRequest,
0 commit comments