graphdb: pass context to ChannelID
This commit is contained in:
6 files changed
+9
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user