lnd+lncfg: move normalizeNetwork to lncfg
This commit is contained in:
1 parent
4d238cfa2f
commit
46ef212de4
4 files changed
+17
-18
No files matched your search
+1
-1
@@ -2533,7 +2533,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
|
||||
"with current best block in the main chain: %v", err)
|
||||
}
|
||||
|
||||
network := normalizeNetwork(r.cfg.ActiveNetParams.Name)
|
||||
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{
|
||||
|
||||
Reference in new issue
Block a user