bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: 0 spending balance

Open thisispav opened this issue 2 years ago • 3 comments

Describe the bug

some UX issues not sure if its a bug but when I open a channel, I receive notification that Instant Payments are available - its says open connection but on the home screen it says pending balance. The app was ON during the entire time. Positive side is it took less than 5 min for Bitkit to open a channel. But then under spending balance I can see 0 - mixed messages (see screenshots).

I backed up wallet and try to wipe and restore. Initially app crashed without providing option to send a report. I then restored the wallet only to find out there was no channel opened (see screenshot), amount was taken and now missing after restore (wallet has not indicated it was even LN tx).

Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots / Recording

photo_2023-08-15_15-53-29 photo_2023-08-15_15-53-28 photo_2023-08-15_15-53-27 photo_2023-08-15_16-30-53 bitkit_ldk_logs_1692108700214.zip photo_2023-08-15_16-30-52 photo_2023-08-15_16-23-32

Operating system

iPhone 6S

Bitkit version

v63

Log output

No response

thisispav avatar Aug 15 '23 14:08 thisispav

I encountered the same issue. Even though the transaction status had been confirmed of 11 times, my spending balance was 0 sats. After the 11th confirmation, the balance updated, and I am now able to perform Lightning transactions without any issues.

JeanlChristophe avatar Aug 15 '23 14:08 JeanlChristophe

I think the zero spending balance issue might be just the app state not auto updating and being in sync with LDK. The restore bug is separate.

Jasonvdb avatar Aug 15 '23 14:08 Jasonvdb

some UX issues not sure if its a bug but when I open a channel, I receive notification that Instant Payments are available - its says open connection but on the home screen it says pending balance. The app was ON during the entire time. Positive side is it took less than 5 min for Bitkit to open a channel. But then under spending balance I can see 0 - mixed messages (see screenshots).

The first part is a known issue and tracked here: https://github.com/synonymdev/bitkit/issues/1261

Since the channel wasn't actually open yet (it is under pending in the screenshot) we can't add the local channel balance to the overall spending balance since you cannot use it yet. So working as expected here.

Assigning to @Jasonvdb for the second part

pwltr avatar Sep 29 '23 10:09 pwltr

Closing this, seems outdated.

pwltr avatar Sep 10 '24 10:09 pwltr