lnd: export ChainControl, ChainRegistry

This commit is contained in:
Eugene authored and eugene committed 2020-10-29 15:20:00 -04:00
1 parent cbdea57d52
commit 4d238cfa2f
9 files changed
+210 -197

No files matched your search

+2 -2
View File
@@ -312,7 +312,7 @@ type Config struct {
// registeredChains keeps track of all chains that have been registered
// with the daemon.
registeredChains *chainRegistry
registeredChains *ChainRegistry
// networkDir is the path to the directory of the currently active
// network. This path will hold the files related to each different
@@ -452,7 +452,7 @@ func DefaultConfig() Config {
MaxChannelFeeAllocation: htlcswitch.DefaultMaxLinkFeeAllocation,
LogWriter: build.NewRotatingLogWriter(),
DB: lncfg.DefaultDB(),
registeredChains: newChainRegistry(),
registeredChains: NewChainRegistry(),
ActiveNetParams: chainreg.BitcoinTestNetParams,
}
}