Skip to content

Commit 1b8617c

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent f6ea33e commit 1b8617c

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
@@ -12167,18 +12167,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1216712167
let chan = chan_entry.get_mut();
1216812168
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1216912169
let funding_txo = chan.funding().get_funding_txo();
12170-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12171-
self,
12172-
peer_state,
12173-
chan.commitment_signed(
12174-
msg,
12175-
best_block,
12176-
&self.signer_provider,
12177-
&self.fee_estimator,
12178-
&&logger
12179-
),
12180-
chan_entry
12170+
let res = chan.commitment_signed(
12171+
msg,
12172+
best_block,
12173+
&self.signer_provider,
12174+
&self.fee_estimator,
12175+
&&logger,
1218112176
);
12177+
let (monitor_opt, monitor_update_opt) =
12178+
try_channel_entry!(self, peer_state, res, chan_entry);
1218212179

1218312180
if let Some(chan) = chan.as_funded_mut() {
1218412181
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)