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

Support for v0.8.0? #69

Closed
LightningK0ala opened this issue Dec 17, 2019 · 3 comments
Closed

Support for v0.8.0? #69

LightningK0ala opened this issue Dec 17, 2019 · 3 comments

Comments

@LightningK0ala
Copy link

LightningK0ala commented Dec 17, 2019

After upgrading c-lightning to v0.8.0 I'm getting an error with lightning-charge:

 Lightning client connection error { Error: connect ECONNREFUSED /root/.lightning/lightning-rpc
     at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
   errno: 'ECONNREFUSED',
   code: 'ECONNREFUSED',
   syscall: 'connect',
   address: '/root/.lightning/lightning-rpc' }
 events.js:183
       throw er; // Unhandled 'error' event
       ^

 Error: connect ECONNREFUSED /root/.lightning/lightning-rpc
     at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

I'm on lightning charge v0.4.13

@shesek
Copy link
Contributor

shesek commented Dec 17, 2019

I haven't had the chance to test with v0.8.0 yet, but this might be due to c-lightning using subdirectories for networks now. Try starting spark with --ln-path /root/.lightning/<network>.

@shesek
Copy link
Contributor

shesek commented Dec 17, 2019

I could make the migration easier for users, created #70 and shesek/spark-wallet#130 to keep track of that.

@LightningK0ala
Copy link
Author

Starting spark with --ln-path /root/.lightning/bitcoin worked! You were right about the subdirectory, thanks @shesek!

shesek added a commit to shesek/lightning-client-js that referenced this issue Dec 17, 2019
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

2 participants