mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-04 20:33:18 +02:00
Merge pull request #7090 from Kodylow/fix-adming-typo
fixes adming typo
This commit is contained in:
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.
|
// Get the admin macaroon if macaroons are active.
|
||||||
if !skipMacaroons && !cfg.NoMacaroons {
|
if !skipMacaroons && !cfg.NoMacaroons {
|
||||||
// Load the adming macaroon file.
|
// Load the admin macaroon file.
|
||||||
macBytes, err := ioutil.ReadFile(cfg.AdminMacPath)
|
macBytes, err := ioutil.ReadFile(cfg.AdminMacPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unable to read macaroon "+
|
return nil, fmt.Errorf("unable to read macaroon "+
|
||||||
|
Reference in New Issue
Block a user