Skip to content

Commit 4b7cfee

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent 75bf42f commit 4b7cfee

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
@@ -12067,18 +12067,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1206712067
let chan = chan_entry.get_mut();
1206812068
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1206912069
let funding_txo = chan.funding().get_funding_txo();
12070-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12071-
self,
12072-
peer_state,
12073-
chan.commitment_signed(
12074-
msg,
12075-
best_block,
12076-
&self.signer_provider,
12077-
&self.fee_estimator,
12078-
&&logger
12079-
),
12080-
chan_entry
12070+
let res = chan.commitment_signed(
12071+
msg,
12072+
best_block,
12073+
&self.signer_provider,
12074+
&self.fee_estimator,
12075+
&&logger,
1208112076
);
12077+
let (monitor_opt, monitor_update_opt) =
12078+
try_channel_entry!(self, peer_state, res, chan_entry);
1208212079

1208312080
if let Some(chan) = chan.as_funded_mut() {
1208412081
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)