graphdb: pass context to ChannelID

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:29 +02:00
1 parent 3079c07afb
commit 397330cbdb
6 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -242,7 +242,7 @@ type Store interface { //nolint:interfacebloat
// ChannelID attempt to lookup the 8-byte compact channel ID which maps
// to the passed channel point (outpoint). If the passed channel doesn't
// exist within the database, then ErrEdgeNotFound is returned.
ChannelID(v lnwire.GossipVersion,
ChannelID(ctx context.Context, v lnwire.GossipVersion,
chanPoint *wire.OutPoint) (uint64, error)
// HighestChanID returns the "highest" known channel ID in the channel