graphdb: pass context to AddEdgeProof

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 3dc2efd7f3
commit 68c5206017
6 files changed
+9 -10

No files matched your search

+3 -3
View File
@@ -692,10 +692,10 @@ func (c *ChannelGraph) HasChannelEdge(ctx context.Context,
}
// AddEdgeProof sets the proof of an existing edge in the graph database.
func (c *ChannelGraph) AddEdgeProof(chanID lnwire.ShortChannelID,
proof *models.ChannelAuthProof) error {
func (c *ChannelGraph) AddEdgeProof(ctx context.Context,
chanID lnwire.ShortChannelID, proof *models.ChannelAuthProof) error {
return c.db.AddEdgeProof(chanID, proof)
return c.db.AddEdgeProof(ctx, chanID, proof)
}
// HighestChanID returns the "highest" known channel ID in the channel graph.