From 3924dcfb6f3fa46aff28644f7bda4bf6a8b2b952 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Fri, 3 May 2024 14:00:11 +0200 Subject: [PATCH] tmp --- network/backend/lnd/lnd.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/network/backend/lnd/lnd.go b/network/backend/lnd/lnd.go index 1cf0e1d..faec92a 100644 --- a/network/backend/lnd/lnd.go +++ b/network/backend/lnd/lnd.go @@ -251,13 +251,10 @@ func (l Backend) SubscribeRoutingEvents(ctx context.Context, channelEvents chan return err } - l.logger.Debug("EVENT\n", logging.String("subscribedEvent", event.GetSubscribedEvent().String())) - - /* if event.EventType == routerrpc.HtlcEvent_UNKNOWN { - continue - }*/ + if event.GetSubscribedEvent() != nil { + channelEvents <- protoToRoutingEvent(event) + } - channelEvents <- protoToRoutingEvent(event) } } }