Skip to content

Commit c19c2f5

Browse files
committed
f - update short_to_chan_info
1 parent 531ade7 commit c19c2f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channelmanager.rs

+3
Original file line numberDiff line numberDiff line change
@@ -9637,6 +9637,9 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
96379637
), chan_entry
96389638
);
96399639
if let Some(announcement_sigs) = announcement_sigs_opt {
9640+
let mut short_to_chan_info = self.short_to_chan_info.write().unwrap();
9641+
insert_short_channel_id!(short_to_chan_info, chan);
9642+
96409643
log_trace!(logger, "Sending announcement_signatures for channel {}", chan.context.channel_id());
96419644
peer_state.pending_msg_events.push(MessageSendEvent::SendAnnouncementSignatures {
96429645
node_id: counterparty_node_id.clone(),

0 commit comments

Comments
 (0)