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