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
let channel_state = channel_state_lock.borrow_parts();
1931
1931
1932
1932
match channel_state.by_id.get_mut(&msg.channel_id){
@@ -1936,7 +1936,16 @@ impl ChannelManager {
1936
1936
returnErr(MsgHandleErrInternal::send_err_msg_no_close("Got a message for a channel from the wrong node!", msg.channel_id));
1937
1937
}
1938
1938
if !chan.is_usable(){
1939
-
returnErr(MsgHandleErrInternal::from_no_close(HandleError{err:"Channel not yet available for receiving HTLCs",action:Some(msgs::ErrorAction::IgnoreError)}));
1939
+
// If the update_add is completely bogus, the channel will reject it outright,
1940
+
// but if we've sent a shutdown but they haven't acknowledged it yet, we just
0 commit comments