Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
hieblmi committed May 3, 2024
1 parent 2a3b3bd commit 1aaeb6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pubsub/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}()
Expand Down

0 comments on commit 1aaeb6f

Please sign in to comment.