multi: remove ChainRegistry

This commit is contained in:
Elle Mouton authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent 2a7fffe441
commit 031dbd7760
9 files changed
+24 -197

No files matched your search

+4 -5
View File
@@ -2955,12 +2955,11 @@ func (r *rpcServer) GetInfo(_ context.Context,
}
network := lncfg.NormalizeNetwork(r.cfg.ActiveNetParams.Name)
activeChains := make([]*lnrpc.Chain, r.cfg.registeredChains.NumActiveChains())
for i, chain := range r.cfg.registeredChains.ActiveChains() {
activeChains[i] = &lnrpc.Chain{
Chain: chain.String(),
activeChains := []*lnrpc.Chain{
{
Chain: BitcoinChainName,
Network: network,
}
},
}
// Check if external IP addresses were provided to lnd and use them