multi: use cache for source channels
This commit is contained in:
7 files changed
+37
-23
No files matched your search
@@ -2315,6 +2315,7 @@ func updateEdgePolicy(tx kvdb.RwTx, edge *ChannelEdgePolicy,
|
||||
)
|
||||
copy(fromNodePubKey[:], fromNode)
|
||||
copy(toNodePubKey[:], toNode)
|
||||
// TODO(guggero): Fetch lightning nodes before updating the cache!
|
||||
graphCache.UpdatePolicy(edge, fromNodePubKey, toNodePubKey, isUpdate1)
|
||||
|
||||
return isUpdate1, nil
|
||||
|
||||
Reference in new issue
Block a user