graph/db: thread context through to HighestChanID

This commit is contained in:
Elle Mouton committed 2025-06-19 14:49:32 +02:00
1 parent 004440a86c
commit 9597f01ce3
7 files changed
+21 -14

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ type V1Store interface { //nolint:interfacebloat
// graph. This represents the "newest" channel from the PoV of the
// chain. This method can be used by peers to quickly determine if
// they're graphs are in sync.
HighestChanID() (uint64, error)
HighestChanID(ctx context.Context) (uint64, error)
// ChanUpdatesInHorizon returns all the known channel edges which have
// at least one edge that has an update timestamp within the specified