From 83f658f714e9ae60bef276204ff3c52a98b8e1e4 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 30 Jun 2025 21:08:01 +0800 Subject: [PATCH] htlcswitch: remove TODO and nolint This old TODO is no longer relevant. --- htlcswitch/link.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index 194415f4c..b200364a7 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -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)