mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 13:27:56 +01:00
Merge pull request #7090 from Kodylow/fix-adming-typo
fixes adming typo
This commit is contained in:
commit
e7f4b183ae
2
lnd.go
2
lnd.go
@ -84,7 +84,7 @@ func AdminAuthOptions(cfg *Config, skipMacaroons bool) ([]grpc.DialOption,
|
||||
|
||||
// Get the admin macaroon if macaroons are active.
|
||||
if !skipMacaroons && !cfg.NoMacaroons {
|
||||
// Load the adming macaroon file.
|
||||
// Load the admin macaroon file.
|
||||
macBytes, err := ioutil.ReadFile(cfg.AdminMacPath)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to read macaroon "+
|
||||
|
Loading…
Reference in New Issue
Block a user