htlcswitch: remove TODO and nolint

This old TODO is no longer relevant.
This commit is contained in:
yyforyongyu committed 2025-07-03 19:50:28 +08:00
1 parent 3af8281370
commit 83f658f714
1 file changed
-4
-4
View File
@@ -1252,8 +1252,6 @@ func (l *channelLink) handleChanSyncErr(err error) {
// and also the htlc trickle queue+timer for this active channels.
//
// NOTE: This MUST be run as a goroutine.
//
//nolint:funlen
func (l *channelLink) htlcManager(ctx context.Context) {
defer func() {
l.cfg.BatchTicker.Stop()
@@ -1270,8 +1268,6 @@ func (l *channelLink) htlcManager(ctx context.Context) {
l.cfg.NotifyActiveLink(l.ChannelPoint())
defer l.cfg.NotifyInactiveLinkEvent(l.ChannelPoint())
// TODO(roasbeef): need to call wipe chan whenever D/C?
// If the link is not started for the first time, we need to take extra
// steps to resume its state.
err := l.resumeLink(ctx)