multi: remove ChainRegistry
This commit is contained in:
1 parent
2a7fffe441
commit
031dbd7760
9 files changed
+24
-197
No files matched your search
+4
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user