graphdb: pass context to IsClosedScid

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 4dcaf1c16a
commit 8722a96a4e
9 files changed
+22 -16

No files matched your search

+1 -1
View File
@@ -2724,7 +2724,7 @@ func (d *AuthenticatedGossiper) handleChanAnnouncement(ctx context.Context,
// Check if the channel is already closed in which case we can ignore
// it.
closed, err := d.cfg.ScidCloser.IsClosedScid(scid)
closed, err := d.cfg.ScidCloser.IsClosedScid(ctx, scid)
if err != nil {
log.Errorf("failed to check if scid %v is closed: %v", scid,
err)