Skip to content

Commit ac2631f

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent 9cddec1 commit ac2631f

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
@@ -12080,18 +12080,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1208012080
let chan = chan_entry.get_mut();
1208112081
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1208212082
let funding_txo = chan.funding().get_funding_txo();
12083-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12084-
self,
12085-
peer_state,
12086-
chan.commitment_signed(
12087-
msg,
12088-
best_block,
12089-
&self.signer_provider,
12090-
&self.fee_estimator,
12091-
&&logger
12092-
),
12093-
chan_entry
12083+
let res = chan.commitment_signed(
12084+
msg,
12085+
best_block,
12086+
&self.signer_provider,
12087+
&self.fee_estimator,
12088+
&&logger,
1209412089
);
12090+
let (monitor_opt, monitor_update_opt) =
12091+
try_channel_entry!(self, peer_state, res, chan_entry);
1209512092

1209612093
if let Some(chan) = chan.as_funded_mut() {
1209712094
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)