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

spark wallet desktop app doesn't match c-lightning values in channel liquidity #168

Closed
PsySc0rpi0n opened this issue Jan 17, 2021 · 6 comments

Comments

@PsySc0rpi0n
Copy link

OS version: Debian Burst 64bit
Dektop app version: 0.2.17
c-lightning version: v0.9.2-67-gff88308

DESCRIPTION
When I run in terminal, the command lightning-cli listpeers I get all the info about open channels, including:
"spendable_msat": "614003000msat",
"receivable_msat": "58896000msat"

but Spark-Wallet shows different values for these fields:
https://i.ibb.co/nLp35jV/image.png

@shesek
Copy link
Owner

shesek commented Jan 17, 2021

What do you see if you enable developer mode (by clicking the version number in the bottom left) and toggle the channel's details?

@PsySc0rpi0n
Copy link
Author

PsySc0rpi0n commented Jan 17, 2021

What do you see if you enable developer mode (by clicking the version number in the bottom left) and toggle the channel's details?

Check this screenshot I just took
https://i.ibb.co/NpF83mG/image.png

@PsySc0rpi0n
Copy link
Author

@shesek any update to this?

@PsySc0rpi0n
Copy link
Author

25 days and not a single reply after this.

And @shesek you already replied to later issues, but can't reply here anymore?

@shesek
Copy link
Owner

shesek commented Apr 9, 2021

Sorry for the slow reply. Not sure what could be causing this. Are you still experiencing it?

@PsySc0rpi0n
Copy link
Author

Sorry for the slow reply. Not sure what could be causing this. Are you still experiencing it?

I think it's all related to the way each software calculates the values they show to the user. Some include the reserve channel values, some don't. Some present the raw values, all separated, some do some obscure math under the hood, so probably, the values presented by Spark Wallet are correct in your own way. But they do not match exactly the same as raw values that c.lightning output in the command line. Anyway, I'm sorry but I'm not using Spark Wallet anymore.

Thanks

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