Skip to content

Commit f55c452

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent d7c13bc commit f55c452

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12065,18 +12065,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1206512065
let chan = chan_entry.get_mut();
1206612066
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1206712067
let funding_txo = chan.funding().get_funding_txo();
12068-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12069-
self,
12070-
peer_state,
12071-
chan.commitment_signed(
12072-
msg,
12073-
best_block,
12074-
&self.signer_provider,
12075-
&self.fee_estimator,
12076-
&&logger
12077-
),
12078-
chan_entry
12068+
let res = chan.commitment_signed(
12069+
msg,
12070+
best_block,
12071+
&self.signer_provider,
12072+
&self.fee_estimator,
12073+
&&logger,
1207912074
);
12075+
let (monitor_opt, monitor_update_opt) =
12076+
try_channel_entry!(self, peer_state, res, chan_entry);
1208012077

1208112078
if let Some(chan) = chan.as_funded_mut() {
1208212079
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)