Skip to content

Commit 0766da8

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent 6257bf1 commit 0766da8

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

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

0 commit comments

Comments
 (0)