[bisq-network/bisq] Editing an offer should not allow the BTC amount to be changed (#4182)

James Cox notifications at github.com
Sun Apr 19 04:48:19 UTC 2020


When editing an offer to adjust the price, the fiat amount is recalculated to reflect the new price.  The BTC amount should not change.  Due to a bug, sometimes the BTC amounts were changed due to a recalculation from the fiat amount. 

This PR Fixes #2798 by disabling a call to recalculate BTC and min BTC amounts when editing.

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

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

-- Commit Summary --

  * Editing an offer should not allow the BTC amount to be changed

-- File Changes --

    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferViewModel.java (7)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4182.patch
https://github.com/bisq-network/bisq/pull/4182.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/4182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200418/7ba97be0/attachment.html>


More information about the bisq-github mailing list