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:
Wilmer Paulino 2021-06-01 16:20:58 -07:00
parent a45827ff4d
commit b213402722
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -1756,7 +1756,7 @@ func extractBitcoindRPCParams(networkName string,
switch networkName {
case "mainnet":
chainDir = ""
case "regtest", "testnet3":
case "regtest", "testnet3", "signet":
chainDir = networkName
default:
return "", "", "", "", fmt.Errorf("unexpected networkname %v", networkName)