[bisq-network/bisq] Maintain floor amount of 5.46 BSQ to prevent dust errors (#4383)

James Cox notifications at github.com
Tue Jul 28 15:08:28 UTC 2020


When an offer is made using BSQ for trade fee, the BSQ amount is burnt by doing a send-to-self.  However if the BSQ change
is below the bitcoin dust limit this causes an error.  We fix this by maintaining a floor amount of 5.46 BSQ.

Fixes #4372, more info here https://github.com/bisq-network/bisq/issues/4372#issuecomment-664615771

![image](https://user-images.githubusercontent.com/47253594/88683866-e48a0880-d0b9-11ea-9f0c-d99c05f2fc30.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4383

-- Commit Summary --

  * Maintain floor amount of 5.46 BSQ to prevent dust errors

-- File Changes --

    M core/src/main/java/bisq/core/offer/OfferUtil.java (8)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferDataModel.java (10)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java (8)
    M desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferDataModel.java (10)
    M desktop/src/main/java/bisq/desktop/main/offer/takeoffer/TakeOfferView.java (8)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4383.patch
https://github.com/bisq-network/bisq/pull/4383.diff

-- 
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/pull/4383
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200728/2b71a4b4/attachment.html>


More information about the bisq-github mailing list