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
@@ -1611,7 +1611,7 @@ func testAddEdgeProof(t *testing.T, v lnwire.GossipVersion) {
// Now add just the proof via AddEdgeProof.
scid1 := lnwire.NewShortChanIDFromInt(edge1.ChannelID)
require.NoError(t, graph.AddEdgeProof(scid1, proof))
require.NoError(t, graph.AddEdgeProof(ctx, scid1, proof))
// Fetch the edge again and assert that the proof is now set.
dbEdge, _, _, err = graph.FetchChannelEdgesByID(