graph/db+sqldb: implement ChanUpdatesInHorizon

Add `ChanUpdatesInHorizon` method to the SQLStore. This lets us run
`TestChanUpdatesInHorizon` against our SQL backends.
This commit is contained in:
Elle Mouton committed 2025-06-24 12:17:52 +02:00
1 parent 45c15646c6
commit 39e521e12b
5 files changed
+413 -10

No files matched your search

+1 -1
View File
@@ -1937,7 +1937,7 @@ func TestChanUpdatesInHorizon(t *testing.T) {
t.Parallel()
ctx := context.Background()
graph := MakeTestGraph(t)
graph := MakeTestGraphNew(t)
// If we issue an arbitrary query before any channel updates are
// inserted in the database, we should get zero results.