graph/db: thread context through FetchChannelEdgesByID
This commit is contained in:
14 files changed
+93
-42
No files matched your search
+3
-1
@@ -1259,7 +1259,9 @@ func (b *Builder) GetChannelByID(chanID lnwire.ShortChannelID) (
|
||||
*models.ChannelEdgePolicy,
|
||||
*models.ChannelEdgePolicy, error) {
|
||||
|
||||
return b.cfg.Graph.FetchChannelEdgesByID(chanID.ToUint64())
|
||||
return b.cfg.Graph.FetchChannelEdgesByID(
|
||||
context.TODO(), chanID.ToUint64(),
|
||||
)
|
||||
}
|
||||
|
||||
// FetchNode attempts to look up a target node by its identity public
|
||||
|
||||
Reference in new issue
Block a user