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
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
lnd
: 0.5.0 betauname -a
on *Nix): Ubuntubtcd
,bitcoind
, or other backend: 0.12.0 betaSteps to reproduce
lncli --rpcserver=localhost:10001 --macaroonpath=data/admin.macaroon create
lncli --rpcserver=localhost:10001 --macaroonpath=data/admin.macaroon getinfo
Expected behaviour
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: https://github.com/lightningnetwork/lnd/issues/1891