graph/db: thread context through IsZombieEdge

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:34 +02:00
1 parent 8a96e5f3d2
commit f98905ae99
5 files changed
+20 -17

No files matched your search

+1 -2
View File
@@ -1865,11 +1865,10 @@ func (s *SQLStore) MarkEdgeLive(ctx context.Context, chanID uint64) error {
// returned.
//
// NOTE: part of the Store interface.
func (s *SQLStore) IsZombieEdge(v lnwire.GossipVersion,
func (s *SQLStore) IsZombieEdge(ctx context.Context, v lnwire.GossipVersion,
chanID uint64) (bool, [33]byte, [33]byte, error) {
var (
ctx = context.TODO()
isZombie bool
pubKey1, pubKey2 route.Vertex
chanIDB = channelIDToBytes(chanID)