Skip to content

Commit 5a610c7

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent e4f2906 commit 5a610c7

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
@@ -12027,18 +12027,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1202712027
let chan = chan_entry.get_mut();
1202812028
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1202912029
let funding_txo = chan.funding().get_funding_txo();
12030-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12031-
self,
12032-
peer_state,
12033-
chan.commitment_signed(
12034-
msg,
12035-
best_block,
12036-
&self.signer_provider,
12037-
&self.fee_estimator,
12038-
&&logger
12039-
),
12040-
chan_entry
12030+
let res = chan.commitment_signed(
12031+
msg,
12032+
best_block,
12033+
&self.signer_provider,
12034+
&self.fee_estimator,
12035+
&&logger,
1204112036
);
12037+
let (monitor_opt, monitor_update_opt) =
12038+
try_channel_entry!(self, peer_state, res, chan_entry);
1204212039

1204312040
if let Some(chan) = chan.as_funded_mut() {
1204412041
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)