File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ use lightning::ln::peer_handler::{IgnoringMessageHandler, MessageHandler};
135
135
use lightning:: ln:: { PaymentHash , PaymentPreimage } ;
136
136
use lightning:: routing:: scoring:: { ProbabilisticScorer , ProbabilisticScoringParameters } ;
137
137
138
- use lightning:: util:: config:: { ChannelHandshakeConfig , ChannelHandshakeLimits , UserConfig } ;
138
+ use lightning:: util:: config:: { ChannelHandshakeConfig , UserConfig } ;
139
139
pub use lightning:: util:: logger:: Level as LogLevel ;
140
140
use lightning:: util:: ser:: ReadableArgs ;
141
141
@@ -1399,11 +1399,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
1399
1399
} ) ?;
1400
1400
1401
1401
let user_config = UserConfig {
1402
- channel_handshake_limits : ChannelHandshakeLimits {
1403
- // lnd's max to_self_delay is 2016, so we want to be compatible.
1404
- their_to_self_delay : 2016 ,
1405
- ..Default :: default ( )
1406
- } ,
1402
+ channel_handshake_limits : Default :: default ( ) ,
1407
1403
channel_handshake_config : ChannelHandshakeConfig {
1408
1404
announced_channel : announce_channel,
1409
1405
..Default :: default ( )
You can’t perform that action at this time.
0 commit comments