graph+channeldb: add AddrSource interface to GraphSource

This commit is contained in:
Elle Mouton
2024-11-12 08:11:46 +02:00
parent 237151d9df
commit bfe6262b29
11 changed files with 63 additions and 26 deletions

View File

@@ -612,7 +612,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
HtlcInterceptor: invoiceHtlcModifier,
}
addrSource := channeldb.NewMultiAddrSource(dbs.ChanStateDB, dbs.GraphDB)
addrSource := channeldb.NewMultiAddrSource(dbs.ChanStateDB, graphSource)
s := &server{
cfg: cfg,