Closed hvmelo closed 2 years ago
After spending some time digging in, I noticed there is this new state since version 0.14.0-beta called SERVER_ACTIVE. In the docs it says "SERVER_ACTIVE means that the lnd server is ready to accept calls". I don't know the actual difference from RPC_ACTIVE to SERVER_ACTIVE. Anyway, it breaks the lib code because it waits for RPC_ACTIVE. Seems to be something easy to fix.
Working on version 0.5.3. Thank you for fixing!
Hi, I'm trying to use the module with a LND localserver hosted in a docker container. My LND server is version 0.14.1-beta. I'm doing exactly as instructed in the tutorial but get the following error:
This is my index.js:
This is the debug console:
It seems the proto services for Lightning are not being loaded, since it actually works when I force the following code right before walletBalance():
await Lightning.onBeforeConnect();
Am I doing something wrong or there is an issue to be fixed here?
Thanks.