LN-Zap / lndconnect

Generate QRCode to connect apps to lnd
MIT License
94 stars 23 forks source link

--bitcoin.testnet flag not being applied #3

Open mrfelton opened 5 years ago

mrfelton commented 5 years ago

Run lndconnect --bitcoin.testnet

Results in the error:

open /Users/tom/Library/Application Support/Lnd/data/chain/bitcoin/mainnet/admin.macaroon: no such file or directory

Notice that it is looking for the admin.macaroon file within the mainnet directory, even though I specified --bitcoin.testnet

tiero commented 5 years ago

I have the same issue 🤔

I solved with passing manually the path

lndconnect --host=myDomain --url --lnddir=/lnd/.lnd --adminmacaroonpath=/lnd/.lnd/data/chain/bitcoin/testnet/admin.macaroon