lightningtip icon indicating copy to clipboard operation
lightningtip copied to clipboard

Litecoin integration

Open bretton opened this issue 7 years ago • 0 comments

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

bretton avatar Sep 01 '18 09:09 bretton