lncfg+lnd: prefix etcd db with only network name instead of full path
This commit is contained in:
1 parent
c3fcfd1530
commit
b53475da14
3 files changed
+11
-5
No files matched your search
@@ -1102,6 +1102,10 @@ func (c *Config) localDatabaseDir() string {
|
||||
normalizeNetwork(activeNetParams.Name))
|
||||
}
|
||||
|
||||
func (c *Config) networkName() string {
|
||||
return normalizeNetwork(activeNetParams.Name)
|
||||
}
|
||||
|
||||
// CleanAndExpandPath expands environment variables and leading ~ in the
|
||||
// passed path, cleans the result, and returns it.
|
||||
// This function is taken from https://github.com/btcsuite/btcd
|
||||
|
||||
Reference in new issue
Block a user