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 { 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)