Skip to content
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

Litecoin integration #13

Open
bretton opened this issue Sep 1, 2018 · 0 comments
Open

Litecoin integration #13

bretton opened this issue Sep 1, 2018 · 0 comments

Comments

@bretton
Copy link
Collaborator

bretton commented Sep 1, 2018

Background

Litecoind + LND requires the macaroon path explicitly be set to

lnd.macaroonfile = /path/to/.lnd/data/chain/litecoin/mainnet/invoice.macaroon

Your environment

  • Ubuntu 16.04
  • Go 1.10
  • I'm running LightningTip behind a reverse proxy.

Steps to reproduce

Upgrading to the latest 5.0 release of LND introduces changes to macaroon paths. The updated LightningTip version to cater to this change works great with Bitcoind+LND, and does not require setting the macaroon path unless it's in a non-standard location.

However for Litecoind+LND the path needs to be explicitly set to:

/path/to/.lnd/data/chain/litecoin/mainnet/invoice.macaroon

Expected behaviour

If the macaroons are in the default path .lnd/data/chain/litecoin/mainnet/ then LightningTip should see them just like the defaults for Bitcoin.

Actual behaviour

[ERROR] Failed to subscribe to invoices: rpc error: code = Unknown desc = expected 1 macaroon, got 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant