Skip to content

Commit 826113b

Browse files
committed
Bind Channel::commitment_signed result in internal_commitment_signed
1 parent c2a6327 commit 826113b

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
@@ -12042,18 +12042,15 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1204212042
let chan = chan_entry.get_mut();
1204312043
let logger = WithChannelContext::from(&self.logger, &chan.context(), None);
1204412044
let funding_txo = chan.funding().get_funding_txo();
12045-
let (monitor_opt, monitor_update_opt) = try_channel_entry!(
12046-
self,
12047-
peer_state,
12048-
chan.commitment_signed(
12049-
msg,
12050-
best_block,
12051-
&self.signer_provider,
12052-
&self.fee_estimator,
12053-
&&logger
12054-
),
12055-
chan_entry
12045+
let res = chan.commitment_signed(
12046+
msg,
12047+
best_block,
12048+
&self.signer_provider,
12049+
&self.fee_estimator,
12050+
&&logger,
1205612051
);
12052+
let (monitor_opt, monitor_update_opt) =
12053+
try_channel_entry!(self, peer_state, res, chan_entry);
1205712054

1205812055
if let Some(chan) = chan.as_funded_mut() {
1205912056
if let Some(monitor) = monitor_opt {

0 commit comments

Comments
 (0)