[bisq-network/bisq] Make moving average code more safe (#4529)

chimp1984 notifications at github.com
Tue Sep 15 17:36:20 UTC 2020


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

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

-- Commit Summary --

  * Add try/catch at setSuggestedSecurityDeposit code
  * Ensure the division is not by 0 and add try catch to MovingAverage

-- File Changes --

    M common/src/main/java/bisq/common/util/MathUtils.java (42)
    M desktop/src/main/java/bisq/desktop/main/offer/MutableOfferDataModel.java (63)

-- Patch Links --

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


More information about the bisq-github mailing list