mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 15:40:59 +02:00
Merge pull request #6535 from ErikEk/config-rpccookie-path
config: fix path to bitcoind/litecoind rpccookie and config
This commit is contained in:
10
config.go
10
config.go
@@ -859,7 +859,17 @@ func ValidateConfig(cfg Config, interceptor signal.Interceptor, fileParser,
|
||||
cfg.BtcdMode.Dir = CleanAndExpandPath(cfg.BtcdMode.Dir)
|
||||
cfg.LtcdMode.Dir = CleanAndExpandPath(cfg.LtcdMode.Dir)
|
||||
cfg.BitcoindMode.Dir = CleanAndExpandPath(cfg.BitcoindMode.Dir)
|
||||
cfg.BitcoindMode.ConfigPath = CleanAndExpandPath(
|
||||
cfg.BitcoindMode.ConfigPath,
|
||||
)
|
||||
cfg.BitcoindMode.RPCCookie = CleanAndExpandPath(cfg.BitcoindMode.RPCCookie)
|
||||
cfg.LitecoindMode.Dir = CleanAndExpandPath(cfg.LitecoindMode.Dir)
|
||||
cfg.LitecoindMode.ConfigPath = CleanAndExpandPath(
|
||||
cfg.LitecoindMode.ConfigPath,
|
||||
)
|
||||
cfg.LitecoindMode.RPCCookie = CleanAndExpandPath(
|
||||
cfg.LitecoindMode.RPCCookie,
|
||||
)
|
||||
cfg.Tor.PrivateKeyPath = CleanAndExpandPath(cfg.Tor.PrivateKeyPath)
|
||||
cfg.Tor.WatchtowerKeyPath = CleanAndExpandPath(cfg.Tor.WatchtowerKeyPath)
|
||||
cfg.Watchtower.TowerDir = CleanAndExpandPath(cfg.Watchtower.TowerDir)
|
||||
|
@@ -265,6 +265,9 @@ from occurring that would result in an erroneous force close.](https://github.co
|
||||
|
||||
* [Clarify error msg when bitcoind cookie file is missing](https://github.com/lightningnetwork/lnd/pull/6536).
|
||||
|
||||
* [Minor fix](https://github.com/lightningnetwork/lnd/pull/6535) to
|
||||
how bitcoind.rpccookie and bitocind.config are parsed from config file.
|
||||
|
||||
## RPC Server
|
||||
|
||||
* [Add value to the field
|
||||
|
Reference in New Issue
Block a user