Merge pull request #7090 from Kodylow/fix-adming-typo

fixes adming typo
This commit is contained in:
Oliver Gugger 2022-10-28 11:20:31 +02:00 committed by GitHub
commit e7f4b183ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lnd.go
View File

@ -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 "+