mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
69e46b7025
In bisq-network/bisq/pull/4223 a fix was made to the QRCode display of amount needed to fund an offer. This accidentally introduced a bug whereby if the user overpaid the funding, then the QRCode would throw an error `Coin must be positive`. This is due to a race condition in OfferDataModel which was setting a property first to a negative amount before checking if it was negative and if so then setting it to zero. The fix here is to check for negative before setting the property so that any listeners do not get an event (negative) followed by another event (zero). |
||
---|---|---|
.. | ||
package | ||
src |