graph/db: thread context through to SetSourceNode

This commit is contained in:
Elle Mouton committed 2025-06-19 14:47:40 +02:00
1 parent e0a9705d59
commit 65049ddd02
11 files changed
+49 -32

No files matched your search

+3 -1
View File
@@ -1,6 +1,7 @@
package lnd
import (
"context"
"fmt"
"net"
"reflect"
@@ -122,7 +123,8 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config,
genInvoiceFeatures func() *lnwire.FeatureVector,
genAmpInvoiceFeatures func() *lnwire.FeatureVector,
getNodeAnnouncement func() lnwire.NodeAnnouncement,
updateNodeAnnouncement func(features *lnwire.RawFeatureVector,
updateNodeAnnouncement func(ctx context.Context,
features *lnwire.RawFeatureVector,
modifiers ...netann.NodeAnnModifier) error,
parseAddr func(addr string) (net.Addr, error),
rpcLogger btclog.Logger, aliasMgr *aliasmgr.Manager,