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
Exposing ChannelPhase in ChannelManager has led to verbose match
statements, which need to be modified each time a ChannelPhase is added.
Making ChannelPhase an implementation detail of Channel would help avoid
this.
As a step in this direction, update ChannelManager methods to use
methods on ChannelPhase for obtaining the appropriate V1 channel types.
return Err(MsgHandleErrInternal::send_err_msg_no_close(format!("Got an unexpected accept_channel message from peer with counterparty_node_id {}", counterparty_node_id), msg.common_fields.temporary_channel_id));
8028
8030
}
8029
8031
}
@@ -8055,8 +8057,10 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8055
8057
let mut peer_state_lock = peer_state_mutex.lock().unwrap();
8056
8058
let peer_state = &mut *peer_state_lock;
8057
8059
let (mut chan, funding_msg_opt, monitor) =
8058
-
match peer_state.channel_by_id.remove(&msg.temporary_channel_id) {
0 commit comments