graph: remove one context.TODO
By threading a context through to the Builder's ForAllOutgoingChannels method.
This commit is contained in:
4 files changed
+11
-10
No files matched your search
@@ -1709,7 +1709,7 @@ func (d *AuthenticatedGossiper) retransmitStaleAnns(ctx context.Context,
|
||||
havePublicChannels bool
|
||||
edgesToUpdate []updateTuple
|
||||
)
|
||||
err := d.cfg.Graph.ForAllOutgoingChannels(func(
|
||||
err := d.cfg.Graph.ForAllOutgoingChannels(ctx, func(
|
||||
info *models.ChannelEdgeInfo,
|
||||
edge *models.ChannelEdgePolicy) error {
|
||||
|
||||
|
||||
Reference in new issue
Block a user