lncli-web icon indicating copy to clipboard operation
lncli-web copied to clipboard

Support for disabled macaroons does not work

Open PirosB3 opened this issue 7 years ago • 0 comments

Even though the README states

...But if you want to start lnd with wallet encryption and macaroons disabled, just add those two parameters to the command line..

I could never get lncli-web to work without macaroon support. This is because in the app/lightning.js, macaroon support is ignored (disabled) only when macaroonPath is falsy. This can never happen as of now, because if --macaroon-path CLI argument is not specified, macaroonPath variable will simply point to the default to macaroon path.

Steps to reproduce

  • Have a lnd server with disabled macaroon support
  • Start an instance of lncli-web

Expected behavour

Server will start correctly

Current behavour

Server will exit with error `The specified macaroon file..."

PirosB3 avatar Sep 17 '18 00:09 PirosB3