graph/db: thread context through MarkEdgeLive

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:34 +02:00
1 parent c270367071
commit 8a96e5f3d2
6 files changed
+12 -10

No files matched your search

+3 -1
View File
@@ -1417,5 +1417,7 @@ func (b *Builder) IsStaleEdgePolicy(chanID lnwire.ShortChannelID,
//
// NOTE: This method is part of the ChannelGraphSource interface.
func (b *Builder) MarkEdgeLive(chanID lnwire.ShortChannelID) error {
return b.cfg.Graph.MarkEdgeLive(chanID.ToUint64())
return b.cfg.Graph.MarkEdgeLive(
context.TODO(), chanID.ToUint64(),
)
}