Skip to content

Commit 1cee35a

Browse files
committed
f clarify comment somewhat
1 parent b3ff257 commit 1cee35a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4588,9 +4588,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
45884588
// channel, not the temporary_channel_id. This is compatible with ourselves, but the
45894589
// spec is somewhat ambiguous here. Not a huge deal since we'll send error messages for
45904590
// any messages referencing a previously-closed channel anyway.
4591-
// We do not do a force-close here as that would generate a monitor update for
4592-
// a monitor that we didn't manage to store (and that we don't care about - we
4593-
// don't respond with the funding_signed so the channel can never go on chain).
4591+
// We do not propogate the monitor update to the user as it would be for a monitor
4592+
// that we didn't manage to store (and that we don't care about - we don't respond
4593+
// with the funding_signed so the channel can never go on chain).
45944594
let (_monitor_update, failed_htlcs) = chan.force_shutdown(false);
45954595
assert!(failed_htlcs.is_empty());
45964596
return Err(MsgHandleErrInternal::send_err_msg_no_close("ChannelMonitor storage failure".to_owned(), funding_msg.channel_id));

0 commit comments

Comments
 (0)