You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the channel is inbound and we detect a relevant feerate increase, we assume
2980
+
// that our counterparty, reasonably implemented, should send us an `update_fee`
2981
+
// soon. Monitoring this situation, we start an autoclose timer.
2982
+
if !chan.is_outbound(){
2983
+
if chan.maybe_trigger_autoclose_timer(chan.get_feerate(), new_feerate){
2984
+
return(true,NotifyOption::DoPersist,Ok(()));
2985
+
}else{
2986
+
return(true,NotifyOption::SkipPersist,Ok(()));
2987
+
}
2988
+
}
2980
2989
if !chan.is_live(){
2981
2990
log_trace!(self.logger,"Channel {} does not qualify for a feerate change from {} to {} as it cannot currently be updated (probably the peer is disconnected).",
0 commit comments