htlcswitch: let link notify on remote commit sig

This commit is contained in:
bitromortac committed 2026-02-20 10:43:52 +01:00
1 parent 0f1472536c
commit 4701f00cfd
1 file changed
+7
+7
View File
@@ -1817,6 +1817,13 @@ func (l *channelLink) handleUpstreamMsg(ctx context.Context,
case *lnwire.CommitSig:
err = l.processRemoteCommitSig(ctx, msg)
// At this point our local commitment state has been irrevocably
// committed to and our balances are updated. We notify our
// subscribers that the channel state has been updated.
if err == nil {
l.cfg.NotifyChannelUpdate(l.channel.ChannelState())
}
case *lnwire.RevokeAndAck:
err = l.processRemoteRevokeAndAck(ctx, msg)