config: support auto rpc config with bitcoind signet
This allows lnd to automatically retrieve the RPC credentials when attempting to connect to a signet bitcoind node.
This commit is contained in:
parent
a45827ff4d
commit
b213402722
@ -1756,7 +1756,7 @@ func extractBitcoindRPCParams(networkName string,
|
|||||||
switch networkName {
|
switch networkName {
|
||||||
case "mainnet":
|
case "mainnet":
|
||||||
chainDir = ""
|
chainDir = ""
|
||||||
case "regtest", "testnet3":
|
case "regtest", "testnet3", "signet":
|
||||||
chainDir = networkName
|
chainDir = networkName
|
||||||
default:
|
default:
|
||||||
return "", "", "", "", fmt.Errorf("unexpected networkname %v", networkName)
|
return "", "", "", "", fmt.Errorf("unexpected networkname %v", networkName)
|
||||||
|
Loading…
Reference in New Issue
Block a user