Wrong macaroonpath in the developer tutorial.
daniel-vera-g opened this issue · 1 comments
daniel-vera-g commented
Background
In the developer tutorial on https://dev.lightning.community/tutorial/01-lncli/index.html in the section Working with lncli and authentication
, the command to create and get info of a wallet has the wrong macaroon path. It has the path --macaroonpath=data/admin.macaroon
instead of the right path: --macaroonpath=data/chain/bitcoin/simnet/admin.macaroon
:
Your environment
- version of
lnd
: 0.5.0 beta - which operating system (
uname -a
on *Nix): Ubuntu - version of
btcd
,bitcoind
, or other backend: 0.12.0 beta
Steps to reproduce
- Follow the tutorial on https://dev.lightning.community/tutorial/01-lncli/index.html. In detail the commands:
lncli --rpcserver=localhost:10001 --macaroonpath=data/admin.macaroon create
lncli --rpcserver=localhost:10001 --macaroonpath=data/admin.macaroon getinfo
Expected behaviour
- Create Wallet
- Get information about the lightning connection.
Actual behaviour
[lncli] unable to read macaroon path (check the network setting!): open data/admin.macaroon: no such file or directory
Notes
This issue is a duplicate of the one on the lnd repository: lightningnetwork/lnd#1891
Roasbeef commented
Should be fixed now as part of the latest rendering.