We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading lnd to version 0.16.0-beta.rc1 spurious events appears on the routing events tab.
I made this quick and dirty workaround:
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() }()
The text was updated successfully, but these errors were encountered:
Fixing these a little better in this PR: #113
Sorry, something went wrong.
No branches or pull requests
After upgrading lnd to version 0.16.0-beta.rc1 spurious events appears on the routing events tab.
I made this quick and dirty workaround:
The text was updated successfully, but these errors were encountered: