File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -114,19 +114,12 @@ pub struct Config {
114
114
115
115
impl Default for Config {
116
116
fn default ( ) -> Self {
117
- // Set the config defaults
118
- let storage_dir_path = "/tmp/ldk_node/" . to_string ( ) ;
119
- let esplora_server_url = "https://blockstream.info/api" . to_string ( ) ;
120
- let network = bitcoin:: Network :: Regtest ;
121
- let listening_address = Some ( "0.0.0.0:9735" . to_string ( ) ) ;
122
- let default_cltv_expiry_delta = 144 ;
123
-
124
117
Self {
125
- storage_dir_path,
126
- esplora_server_url,
127
- network,
128
- listening_address,
129
- default_cltv_expiry_delta,
118
+ storage_dir_path : "/tmp/ldk_node/" . to_string ( ) ,
119
+ esplora_server_url : "http://localhost:3002" . to_string ( ) ,
120
+ network : bitcoin :: Network :: Regtest ,
121
+ listening_address : Some ( "0.0.0.0:9735" . to_string ( ) ) ,
122
+ default_cltv_expiry_delta : 144 ,
130
123
}
131
124
}
132
125
}
You can’t perform that action at this time.
0 commit comments