graphdb: pass context to AddEdgeProof
This commit is contained in:
6 files changed
+9
-10
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user