Ride-The-Lightning / c-lightning-REST

REST APIs for Core Lightning written with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No onchain & lightning balance shown in RTL & Zeus

teemie1 opened this issue · comments

commented

My environment:

  • OS: Ubuntu 22.04.2 LTS
  • Bitcoin Core 25.0
  • Core Lightning 23.05.2
  • c-lightning-REST v0.10.5
  • RTL 0.14.0
  • Zeus on my iPhone 0.7.7
    Problem:
    I installed CLN 23.05.2 with cln-rest plugin v0.10.5, RTL 0.14.0 . After I transfer fund to my on chain address of CLN. RTL did not show on chain balance and I could not open channel via RTL. In "lightning-cli listfunds" command show balance. I used lightning-cli fundchannel to open channel successfully. Then all lightning & on chain balance still be 0 in RTL. When I connect via Zeus, it is the same problem. Anyone have an idea for this.

image

@teemie1 Thank you for reporting the issue but I am unable to reproduce it locally. I tested it on the same stack and getting correct balances.

Screenshot from 2023-08-14 12-32-46

commented

Thank you for your response. I devided to reinstall all of them because of my hardware failure. I’ll update the result when it’s finished.

commented

have the same problem. The output of

journalctl -f -u c-lightning-REST

is

.... node[43477]: warn: Invalid Version String
.... node[43477]: warn: Invalid Version String

have the same problem. The output of

journalctl -f -u c-lightning-REST

is

.... node[43477]: warn: Invalid Version String
.... node[43477]: warn: Invalid Version String

Are you calling c-lightning-REST's listpeerchannels api without calling getinfo? Or are you running any non-released version on CLN?

commented

Are you calling c-lightning-REST's listpeerchannels api without calling getinfo? Or are you running any non-released version on CLN?

Hello,
i am not a developer.
This message appears when I start Zeus Wallet.
Since a few days CLN "23.08" is running.

Version string "23.08" will throw the error message as c-lightning-REST expects the version string to start with "v". So the valid version string should be "v23.08".

Updated the code to allow a version string with or without "v" prefix. Will be release with v0.10.6