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

+1 -2
View File
@@ -1815,12 +1815,11 @@ func (s *SQLStore) MarkEdgeZombie(ctx context.Context, chanID uint64,
// MarkEdgeLive clears an edge from our zombie index, deeming it as live.
//
// NOTE: part of the Store interface.
func (s *SQLStore) MarkEdgeLive(chanID uint64) error {
func (s *SQLStore) MarkEdgeLive(ctx context.Context, chanID uint64) error {
s.cacheMu.Lock()
defer s.cacheMu.Unlock()
var (
ctx = context.TODO()
chanIDB = channelIDToBytes(chanID)
)