-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macaroon not found for mainnet issue with testnet newaddress RPC #1914
Comments
Also.. If I add
to lnd.conf it makes no difference. |
TEMP FIX:
|
@miketwenty1 Try passing |
Yes this works, is this a mandatory param for lncli even if lnd.conf is specified with testnet? |
in release notes |
Yes since the client is stateless. One suggestion is to use |
hello,I try this method :lncli --rpcserver=localhost:xxxxxx --no-macaroons --network=simnet create. But it still doesn't work. |
hello~ Can this method work? |
Background
Bitcoind Testnet
LND testnet
run command
lncli newaddress p2wkh
lncli] unable to read macaroon path (check the network setting!): open /home/user/.lnd/data/chain/bitcoin/mainnet/admin.macaroon: no such file or directory
Your environment
lnd
master
uname -a
on *Nix)Linux testnode 4.15.0-1019-gcp Implement RPC Authentication #20~16.04.1-Ubuntu SMP Thu Aug 30 11:52:19 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
btcd
,bitcoind
, or other backendbitcoind 0.16.2
Even if I run LND with "--no-macaroons" it will still happen
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
The text was updated successfully, but these errors were encountered: