[bisq-network/bisq] Incorrect wallet balance after compensation request issuance? (#2623)
notifications at github.com
Wed Apr 3 08:08:41 UTC 2019
Here's a brain teaser that I am struggling to explain at the moment. I need to review it tomorrow with a fresh mind, but creating an issue so as not to lose track of it (and maybe get another mind to review it).
I was testing a scenario where I had submitted a compensation request for 100 BSQ and had just enough BSQ to cover the fees, but not enough to vote (where I found #2622).
Here is the sequence of events (starting from a balance of 0 BSQ):
- Receive 10 BSQ
- Submit compensation request for 100 BSQ, minus 2 BSQ for fee
[balance of 8 BSQ]
- Send remaining 8 BSQ
[balance of 0 BSQ]
- Compensation request approved, BSQ issued
[at this point I would expect to have a balance of 98 BSQ, but the wallet balance indicates 100]
Adding up the amounts shown below (10+98-8) gives us 100. But calculating it based on the sequence of events (10-2-8+98), gives us 98.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bisq-github