Skip to content

Commit 5fcb938

Browse files
committed
f FMT
1 parent 3471a3f commit 5fcb938

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/io.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::error::LdkLiteError as Error;
22

3-
use crate::{LdkLiteConfig, NetworkGraph, Scorer, FilesystemLogger};
43
use crate::hex;
4+
use crate::{FilesystemLogger, LdkLiteConfig, NetworkGraph, Scorer};
55

66
use lightning::routing::scoring::{ProbabilisticScorer, ProbabilisticScoringParameters};
77
use lightning::util::ser::ReadableArgs;
@@ -99,7 +99,6 @@ pub(crate) fn persist_channel_peer(
9999
file.write_all(format!("{}\n", peer_info).as_bytes())
100100
}
101101

102-
103102
// TODO: handle different kinds of NetAddress, e.g., the Hostname field.
104103
pub(crate) fn parse_peer_info(
105104
peer_pubkey_and_ip_addr: String,

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
mod access;
2828
mod error;
2929
mod event;
30-
mod logger;
31-
mod io;
3230
mod hex;
31+
mod io;
32+
mod logger;
3333

3434
use access::LdkLiteChainAccess;
3535
pub use error::LdkLiteError as Error;
@@ -217,7 +217,8 @@ impl LdkLiteBuilder {
217217

218218
// TODO: Check that we can be sure that the Esplora client re-connects in case of failure
219219
// and and exits cleanly on drop. Otherwise we need to handle this/move it to the runtime?
220-
let blockchain = EsploraBlockchain::new(&config.esplora_server_url, BDK_CLIENT_STOP_GAP).with_concurrency(BDK_CLIENT_CONCURRENCY);
220+
let blockchain = EsploraBlockchain::new(&config.esplora_server_url, BDK_CLIENT_STOP_GAP)
221+
.with_concurrency(BDK_CLIENT_CONCURRENCY);
221222

222223
let chain_access = Arc::new(LdkLiteChainAccess::new(blockchain, bdk_wallet));
223224

0 commit comments

Comments
 (0)