diff --git a/network/models/routingevent.go b/network/models/routingevent.go index 0b0aee3..41d25db 100644 --- a/network/models/routingevent.go +++ b/network/models/routingevent.go @@ -67,7 +67,5 @@ func (u *RoutingEvent) Update(newer *RoutingEvent) { } func (u *RoutingEvent) IsEmpty() bool { - return u.OutgoingChannelId == 0 && - u.AmountMsat == 0 && - u.FeeMsat == 0 + return u.OutgoingChannelId == 0 } diff --git a/pubsub/pubsub.go b/pubsub/pubsub.go index a05111b..8aac8ee 100644 --- a/pubsub/pubsub.go +++ b/pubsub/pubsub.go @@ -97,10 +97,7 @@ func (p *PubSub) routingUpdates(ctx context.Context, sub chan *events.Event) { for hu := range routingUpdates { p.logger.Debug("receive htlcUpdate") if !hu.IsEmpty() { - p.logger.Debug("EMPTY BANG BANG") sub <- events.NewWithData(events.RoutingEventUpdated, hu) - } else { - p.logger.Debug("NOT EMPTY BANG BANG") } } p.wg.Done()