graph/db: thread context through MarkEdgeZombie

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

No files matched your search

+1 -3
View File
@@ -1783,11 +1783,9 @@ func (s *SQLStore) FilterChannelRange(ctx context.Context, startHeight,
// marked as zombies outside the normal pruning cycle.
//
// NOTE: part of the Store interface.
func (s *SQLStore) MarkEdgeZombie(chanID uint64,
func (s *SQLStore) MarkEdgeZombie(ctx context.Context, chanID uint64,
pubKey1, pubKey2 [33]byte) error {
ctx := context.TODO()
s.cacheMu.Lock()
defer s.cacheMu.Unlock()