routing+refactor: remove the need to give CachedGraph source node access
In preparation for the next commit.
This commit is contained in:
6 files changed
+15
-46
No files matched your search
+1
-2
@@ -517,8 +517,7 @@ func New(cfg Config) (*ChannelRouter, error) {
|
||||
r := &ChannelRouter{
|
||||
cfg: &cfg,
|
||||
cachedGraph: &CachedGraph{
|
||||
graph: cfg.Graph,
|
||||
source: selfNode.PubKeyBytes,
|
||||
graph: cfg.Graph,
|
||||
},
|
||||
networkUpdates: make(chan *routingMsg),
|
||||
topologyClients: &lnutils.SyncMap[uint64, *topologyClient]{},
|
||||
|
||||
Reference in new issue
Block a user