shesek / spark-wallet

⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.
MIT License
341 stars 75 forks source link

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

Closed PsySc0rpi0n closed 3 years ago

PsySc0rpi0n commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@shesek any update to this?

PsySc0rpi0n commented 3 years ago

25 days and not a single reply after this.

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

shesek commented 3 years ago

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

PsySc0rpi0n commented 3 years ago

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