From 1aaeb6f8ed5f0bfd34651cea73f6225c4ecdb6b4 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Fri, 3 May 2024 19:16:07 +0200 Subject: [PATCH] tmp --- pubsub/pubsub.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pubsub/pubsub.go b/pubsub/pubsub.go index 5364183..1277cfa 100644 --- a/pubsub/pubsub.go +++ b/pubsub/pubsub.go @@ -96,7 +96,9 @@ func (p *PubSub) routingUpdates(ctx context.Context, sub chan *events.Event) { go func() { for hu := range routingUpdates { p.logger.Debug("receive htlcUpdate") - sub <- events.NewWithData(events.RoutingEventUpdated, hu) + if (*hu).OutgoingChannelId != 0 { + sub <- events.NewWithData(events.RoutingEventUpdated, hu) + } } p.wg.Done() }()