[bisq-network/bisq] Add validation for trade statistics (#2224)

Manfred Karrer notifications at github.com
Tue Jan 8 17:56:31 UTC 2019


We got a trade statistics object with price and amount 0. Unclear why
that can happen (maybe some dev was debugging things or it was created
with the API). We need to add validation when creating and publishing
a trade statistics object as well. This is just a fast fix for getting
a new release out.

Fixes #2222 and #2223
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add validation for trade statistics

-- File Changes --

    M core/src/main/java/bisq/core/trade/statistics/TradeStatistics2.java (4)
    M core/src/main/java/bisq/core/trade/statistics/TradeStatisticsManager.java (26)

-- Patch Links --

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


More information about the bisq-github mailing list