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

[Bug]: Total Balance changed when Transferring Savings > Spending #2301

Open
thisispav opened this issue Oct 9, 2024 · 5 comments
Open

[Bug]: Total Balance changed when Transferring Savings > Spending #2301

thisispav opened this issue Oct 9, 2024 · 5 comments
Assignees
Labels
bug Something isn't working estimate:5 high priority This should be worked on urgently triage This issue needs to be looked over by the team

Comments

@thisispav
Copy link

Describe the bug

I tried the manual transfer flow Savings > Spending.
I set the channel size to 12000 sats and initiated the transfer
Savings 29754
Spending16392
Total 46146

but the initial screenshot showed total 58146 (which was 12000 difference the exact size of the channel I initiated)

I refreshed the balance after 5 min and got a new total balance 38146.

order ID 423a0291-81ce-4dfb-9860-03397bb19fd6

Reproduce

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

Screenshots / Recording

[bitkit_ldk_logs_1728464765228.zip](https://github.com/user-attachments/files/173
photo_2024-10-09_12-06-51
photo_2024-10-09_12-06-59
photo_2024-10-09_12-06-52
05496/bitkit_ldk_logs_1728464765228.zip)

Operating system

Android

Bitkit version

v137

Log output

No response

@thisispav thisispav added bug Something isn't working triage This issue needs to be looked over by the team labels Oct 9, 2024
@thisispav
Copy link
Author

same issue happened again when I attempted to manually open a channel to Blocktank0 node
photo_2024-10-09_16-21-34

@catch-21
Copy link
Contributor

catch-21 commented Oct 9, 2024

My hunch is a coincidence of the transfer occurring at the same time as a wallet refresh. There is a spend output still being considered for the savings balance that should not be. Or something like that.

@catch-21
Copy link
Contributor

catch-21 commented Nov 1, 2024

I suspect that balance sometimes going to 0 could be related: #2297 (comment)

@limpbrains limpbrains self-assigned this Nov 4, 2024
@catch-21
Copy link
Contributor

catch-21 commented Nov 4, 2024

This happened to us multiple times in today's testing session using v1.0.6 (138).

The following is my experience, after CJIT channel open the activity appears but my spending balance is 0. Manual refresh required to see correct balance and the purple READY suggestion.

bitkit_ldk_logs_1730713584831.zip

after_cjit_refresh.mp4

@pwltr pwltr changed the title [Bug]: Total Balance changed when Manually Transferring Savings > Spending [Bug]: Total Balance changed when Transferring Savings > Spending Nov 5, 2024
@JeanlChristophe JeanlChristophe added the high priority This should be worked on urgently label Nov 27, 2024
@pwltr pwltr assigned pwltr and unassigned limpbrains Nov 27, 2024
@pwltr
Copy link
Collaborator

pwltr commented Nov 28, 2024

Not able to reproduce this so far. If you run into this again please add as much detail as you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working estimate:5 high priority This should be worked on urgently triage This issue needs to be looked over by the team
Projects
None yet
Development

No branches or pull requests

5 participants