lnwallet: export btcwallet.NetworkDir

This commit is contained in:
Johan T. Halseth authored and Olaoluwa Osuntokun committed 2017-10-19 19:17:35 -07:00
1 parent b29af869c7
commit e6cc46d84e
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -77,9 +77,9 @@ type Config struct {
NetParams *chaincfg.Params
}
// networkDir returns the directory name of a network directory to hold wallet
// NetworkDir returns the directory name of a network directory to hold wallet
// files.
func networkDir(dataDir string, chainParams *chaincfg.Params) string {
func NetworkDir(dataDir string, chainParams *chaincfg.Params) string {
netname := chainParams.Name
// For now, we must always name the testnet data directory as "testnet"