graph/db: version fetch chan infos
Add a gossip version parameter to FetchChanInfos in the Store interface and both KV/SQL implementations. Update the graph builder caller and refactor related tests.
This commit is contained in:
6 files changed
+56
-35
No files matched your search
+1
-1
@@ -581,7 +581,7 @@ func (b *Builder) pruneZombieChans() error {
|
||||
"ids chans: %v", err)
|
||||
}
|
||||
|
||||
disabledEdges, err := b.cfg.Graph.FetchChanInfos(
|
||||
disabledEdges, err := b.v1Graph.FetchChanInfos(
|
||||
disabledChanIDs,
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user