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

+1 -1
View File
@@ -1312,7 +1312,7 @@ func (b *Builder) ForAllOutgoingChannels(ctx context.Context,
func (b *Builder) AddProof(chanID lnwire.ShortChannelID,
proof *models.ChannelAuthProof) error {
return b.cfg.Graph.AddEdgeProof(chanID, proof)
return b.cfg.Graph.AddEdgeProof(context.TODO(), chanID, proof)
}
// IsStaleNode returns true if the graph source has a node announcement for the