You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,10 @@ make && make install
21
21
```
22
22
23
23
## Usage
24
-
Faraday connects to a single instance of lnd. It requires access to `lnd`'s `readonly.macaroon` and a valid TLS certificate. It will attempt to use the default `lnd` values if no command line flags are specified.
24
+
Faraday connects to a single instance of lnd. It requires access to `lnd`'s `admin.macaroon` and a valid TLS certificate. It will attempt to use the default `lnd` values if no command line flags are specified.
25
25
```
26
26
./faraday \
27
-
--lnd.macaroonpath={full path to lnd's readonly.macaroon} \
27
+
--lnd.macaroonpath={full path to lnd's admin.macaroon} \
Copy file name to clipboardExpand all lines: config.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ var (
76
76
77
77
// defaultLndMacaroon is the default macaroon file we use to connect to
78
78
// lnd.
79
-
defaultLndMacaroon="readonly.macaroon"
79
+
defaultLndMacaroon="admin.macaroon"
80
80
81
81
// DefaultLndDir is the default location where we look for lnd's tls and
82
82
// macaroon files.
@@ -103,7 +103,7 @@ type LndConfig struct {
103
103
// all of lnd's macaroons. The specified macaroon MUST have all
104
104
// permissions that all the subservers use, otherwise permission errors
105
105
// will occur.
106
-
MacaroonPathstring`long:"macaroonpath" description:"The full path to the single macaroon to use, either the readonly.macaroon or a custom baked one. Cannot be specified at the same time as macaroondir. A custom macaroon must contain ALL permissions required for all subservers to work, otherwise permission errors will occur."`
106
+
MacaroonPathstring`long:"macaroonpath" description:"The full path to the single macaroon to use, either the admin.macaroon or a custom baked one. Cannot be specified at the same time as macaroondir. A custom macaroon must contain ALL permissions required for all subservers to work, otherwise permission errors will occur."`
107
107
108
108
// TLSCertPath is the path to the tls cert that faraday should use.
109
109
TLSCertPathstring`long:"tlscertpath" description:"Path to TLS cert"`
0 commit comments