File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ use lightning::ln::peer_handler::{IgnoringMessageHandler, MessageHandler};
135135use lightning:: ln:: { PaymentHash , PaymentPreimage } ;
136136use lightning:: routing:: scoring:: { ProbabilisticScorer , ProbabilisticScoringParameters } ;
137137
138- use lightning:: util:: config:: { ChannelHandshakeConfig , ChannelHandshakeLimits , UserConfig } ;
138+ use lightning:: util:: config:: { ChannelHandshakeConfig , UserConfig } ;
139139pub use lightning:: util:: logger:: Level as LogLevel ;
140140use lightning:: util:: ser:: ReadableArgs ;
141141
@@ -1399,11 +1399,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
13991399 } ) ?;
14001400
14011401 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 ( ) ,
14071403 channel_handshake_config : ChannelHandshakeConfig {
14081404 announced_channel : announce_channel,
14091405 ..Default :: default ( )
You can’t perform that action at this time.
0 commit comments