File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: error:: LdkLiteError as Error ;
2
2
3
- use crate :: { LdkLiteConfig , NetworkGraph , Scorer , FilesystemLogger } ;
4
3
use crate :: hex;
4
+ use crate :: { FilesystemLogger , LdkLiteConfig , NetworkGraph , Scorer } ;
5
5
6
6
use lightning:: routing:: scoring:: { ProbabilisticScorer , ProbabilisticScoringParameters } ;
7
7
use lightning:: util:: ser:: ReadableArgs ;
@@ -99,7 +99,6 @@ pub(crate) fn persist_channel_peer(
99
99
file. write_all ( format ! ( "{}\n " , peer_info) . as_bytes ( ) )
100
100
}
101
101
102
-
103
102
// TODO: handle different kinds of NetAddress, e.g., the Hostname field.
104
103
pub ( crate ) fn parse_peer_info (
105
104
peer_pubkey_and_ip_addr : String ,
Original file line number Diff line number Diff line change 27
27
mod access;
28
28
mod error;
29
29
mod event;
30
- mod logger;
31
- mod io;
32
30
mod hex;
31
+ mod io;
32
+ mod logger;
33
33
34
34
use access:: LdkLiteChainAccess ;
35
35
pub use error:: LdkLiteError as Error ;
@@ -217,7 +217,8 @@ impl LdkLiteBuilder {
217
217
218
218
// TODO: Check that we can be sure that the Esplora client re-connects in case of failure
219
219
// 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 ) ;
221
222
222
223
let chain_access = Arc :: new ( LdkLiteChainAccess :: new ( blockchain, bdk_wallet) ) ;
223
224
You can’t perform that action at this time.
0 commit comments