clams-tech / Remote

Remote control your Core Lightning node
https://remote.clams.tech
GNU General Public License v3.0
41 stars 7 forks source link

Bug: Sending funds on chain is increasing shown balance #197

Closed niftynei closed 9 months ago

niftynei commented 12 months ago

I sent out a few (unconfirmed) payments using withdraw, and it resulted in the displayed balance going up, not down. lol.

The reason for this is that the utxos that were used in the on-chain payment are still in listfunds, as is the change from the tx (but marked as unconfirmed).

Not sure best way to fix, but maybe using the bkpr-listbalances would be a more accurate source for node funds than listfunds?

Would be nice to have a list of on-chain txs (in-progress/confirmed) somewhere.

lnbc1QWFyb24 commented 12 months ago

Yeah that is less than ideal. Will look in to this and get it fixed!

Proper onchain support with a full listing of all transactions and details is coming in v2 which should hopefully not be too far away.