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) } } }