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

Negative balances after split #23

Open
MichaelAntonFischer opened this issue Jun 29, 2024 · 0 comments
Open

Negative balances after split #23

MichaelAntonFischer opened this issue Jun 29, 2024 · 0 comments
Assignees

Comments

@MichaelAntonFischer
Copy link

MichaelAntonFischer commented Jun 29, 2024

This is related to #14

The fixes on the above issue fixed the problem with double splits happening in the open.

Still sometimes for an unknown reason after a split the balance in a wallet can turn negative. Luckily it is not affecting any real sats and as soon as the user logs in the balance within seconds jumps back into the positive.

After discussing this with @dni I thought the invoice listeners where the root cause, but since after all the big fixes the issue still persists, I think it must be something else.

Also the strange thing about this is that while the balance is negative no further transactions from this wallet are possible and simply getting the wallet balance via api doesn’t turn it positive.

So I am wondering:
What is different when logging in to a account than when using API calls?

And is there an API workaround to fix the balances until the root cause is identified ?

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

4 participants