mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 22:54:26 +01:00
cmd/lncli: correctly set modified macaroon path
This commit is contained in:
@@ -76,7 +76,7 @@ func getClientConn(ctx *cli.Context, skipMacaroons bool) *grpc.ClientConn {
|
|||||||
|
|
||||||
macPath := cleanAndExpandPath(ctx.GlobalString("macaroonpath"))
|
macPath := cleanAndExpandPath(ctx.GlobalString("macaroonpath"))
|
||||||
if macPath == defaultMacaroonPath {
|
if macPath == defaultMacaroonPath {
|
||||||
ctx.GlobalSet("no-macaroons",
|
ctx.GlobalSet("macaroonpath",
|
||||||
filepath.Join(lndDir, defaultMacaroonFilename))
|
filepath.Join(lndDir, defaultMacaroonFilename))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user