mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
lncfg+lnd: prefix etcd db with only network name instead of full path
This commit is contained in:
@@ -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