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 committed 2021-06-01 16:22:10 -07:00
1 parent a45827ff4d
commit b213402722
1 file changed
+1 -1
+1 -1
View File
@@ -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)