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

+4 -2
View File
@@ -779,8 +779,10 @@ func (c *ChannelGraph) PutClosedScid(ctx context.Context,
}
// IsClosedScid checks whether a channel identified by the scid is closed.
func (c *ChannelGraph) IsClosedScid(scid lnwire.ShortChannelID) (bool, error) {
return c.db.IsClosedScid(scid)
func (c *ChannelGraph) IsClosedScid(ctx context.Context,
scid lnwire.ShortChannelID) (bool, error) {
return c.db.IsClosedScid(ctx, scid)
}
// SetSourceNode sets the source node within the graph database.