Skip to content

Commit

Permalink
lnd backend: ignore unknown htlc events
Browse files Browse the repository at this point in the history
  • Loading branch information
hieblmi committed May 3, 2024
1 parent 2a3b3bd commit 7d4b9c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions network/backend/lnd/lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ func (l Backend) SubscribeRoutingEvents(ctx context.Context, channelEvents chan
return err
}

if event.EventType == routerrpc.HtlcEvent_UNKNOWN {
continue
}

channelEvents <- protoToRoutingEvent(event)
}
}
Expand Down

0 comments on commit 7d4b9c9

Please sign in to comment.