Skip to content

Commit 37c7211

Browse files
dunxenvalentinewallace
authored andcommitted
Refactor channel map update macros for use with ChannelContext
1 parent ae9e96e commit 37c7211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5667,7 +5667,7 @@ where
56675667
), chan),
56685668
// Note that announcement_signatures fails if the channel cannot be announced,
56695669
// so get_channel_update_for_broadcast will never fail by the time we get here.
5670-
update_msg: Some(self.get_channel_update_for_broadcast(chan.get()).unwrap()),
5670+
update_msg: Some(self.get_channel_update_for_broadcast(&chan.get()).unwrap()),
56715671
});
56725672
},
56735673
hash_map::Entry::Vacant(_) => return Err(MsgHandleErrInternal::send_err_msg_no_close(format!("Got a message for a channel from the wrong node! No such channel for the passed counterparty_node_id {}", counterparty_node_id), msg.channel_id))

0 commit comments

Comments
 (0)