-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lnconfig: Support utilizing Environment Variables in
lnd.conf
for `…
…rpcuser` and `rpcpass` fields. - Added `extractEnvVariable` function in `config.go` that returns The value of the specified environment variable, or the default value if provided, or the original input string if no matching variable is found or set.- Called `extractEnvVariable` function in `parseRPCParams` function in `config.go` file where `rpcuser` and `rpcpass` fields are being parsed.
- Loading branch information
1 parent
0df507e
commit 4f42f8b
Showing
1 changed file
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters