htlcswitch: remove TODO and nolint
This old TODO is no longer relevant.
This commit is contained in:
1 file changed
-4
@@ -1252,8 +1252,6 @@ func (l *channelLink) handleChanSyncErr(err error) {
|
|||||||
// and also the htlc trickle queue+timer for this active channels.
|
// and also the htlc trickle queue+timer for this active channels.
|
||||||
//
|
//
|
||||||
// NOTE: This MUST be run as a goroutine.
|
// NOTE: This MUST be run as a goroutine.
|
||||||
//
|
|
||||||
//nolint:funlen
|
|
||||||
func (l *channelLink) htlcManager(ctx context.Context) {
|
func (l *channelLink) htlcManager(ctx context.Context) {
|
||||||
defer func() {
|
defer func() {
|
||||||
l.cfg.BatchTicker.Stop()
|
l.cfg.BatchTicker.Stop()
|
||||||
@@ -1270,8 +1268,6 @@ func (l *channelLink) htlcManager(ctx context.Context) {
|
|||||||
l.cfg.NotifyActiveLink(l.ChannelPoint())
|
l.cfg.NotifyActiveLink(l.ChannelPoint())
|
||||||
defer l.cfg.NotifyInactiveLinkEvent(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
|
// If the link is not started for the first time, we need to take extra
|
||||||
// steps to resume its state.
|
// steps to resume its state.
|
||||||
err := l.resumeLink(ctx)
|
err := l.resumeLink(ctx)
|
||||||
|
|||||||
Reference in new issue
Block a user