[bisq-network/bisq] Fix NPE in Portfolio View when market price n/a (#5385)

jmacxx notifications at github.com
Wed Mar 31 22:17:54 CEST 2021


Query of market price may return `null` when the price is not available (e.g. priceserver temporarily down).
Portfolio View TriggerPriceService was not checking the market price object prior to use.

Fixes #5381

![Screenshot from 2021-03-31 14-57-20](https://user-images.githubusercontent.com/47253594/113205456-ec471180-9233-11eb-820c-9168863b84a3.png)

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

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

-- Commit Summary --

  * fix NPE in portfolio view when market price n/a

-- File Changes --

    M core/src/main/java/bisq/core/offer/TriggerPriceService.java (2)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5385.patch
https://github.com/bisq-network/bisq/pull/5385.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/5385
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210331/a34d52c7/attachment.htm>


More information about the bisq-github mailing list