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
Copy file name to clipboardExpand all lines: lightning/src/ln/channelmanager.rs
+50-2
Original file line number
Diff line number
Diff line change
@@ -5144,9 +5144,13 @@ where
5144
5144
returnErr(MsgHandleErrInternal::send_err_msg_no_close("temporary_channel_id collision for the same peer!".to_owned(), msg.temporary_channel_id.clone()))
5145
5145
}else{
5146
5146
if !self.default_configuration.manually_accept_inbound_channels{
5147
-
if channel.context.get_channel_type().requires_zero_conf(){
5147
+
let channel_type = channel.context.get_channel_type();
5148
+
if channel_type.requires_zero_conf(){
5148
5149
returnErr(MsgHandleErrInternal::send_err_msg_no_close("No zero confirmation channels accepted".to_owned(), msg.temporary_channel_id.clone()));
5149
5150
}
5151
+
if channel_type.requires_anchors_zero_fee_htlc_tx(){
5152
+
returnErr(MsgHandleErrInternal::send_err_msg_no_close("No channels with anchor outputs accepted".to_owned(), msg.temporary_channel_id.clone()));
0 commit comments