graph/db: impl FilterKnownChanIDs

Which lets us then run `TestFilterKnownChanIDsZombieRevival` and
`TestFilterKnownChanIDs` against our SQL backends.
This commit is contained in:
Elle Mouton committed 2025-06-24 21:04:36 +02:00
1 parent 13bf6a549f
commit ba701de88a
2 files changed
+72 -2

No files matched your search

+2 -2
View File
@@ -2198,7 +2198,7 @@ func TestNodeUpdatesInHorizon(t *testing.T) {
func TestFilterKnownChanIDsZombieRevival(t *testing.T) {
t.Parallel()
graph := MakeTestGraph(t)
graph := MakeTestGraphNew(t)
var (
scid1 = lnwire.ShortChannelID{BlockHeight: 1}
@@ -2264,7 +2264,7 @@ func TestFilterKnownChanIDs(t *testing.T) {
t.Parallel()
ctx := context.Background()
graph := MakeTestGraph(t)
graph := MakeTestGraphNew(t)
isZombieUpdate := func(updateTime1 time.Time,
updateTime2 time.Time) bool {