[bisq-network/bisq] Incorrect wallet balance after compensation request issuance? (#2623)

Devin Bileck 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.

![image](https://user-images.githubusercontent.com/603793/55461649-cf769580-55a9-11e9-996b-54198a52fed0.png)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/2623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190403/06b77b82/attachment.html>


More information about the bisq-github mailing list