mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
fix NPE in portfolio view when market price n/a
This commit is contained in:
parent
d567170bdb
commit
089e476901
@ -111,7 +111,7 @@ public class TriggerPriceService {
|
||||
|
||||
public static boolean wasTriggered(MarketPrice marketPrice, OpenOffer openOffer) {
|
||||
Price price = openOffer.getOffer().getPrice();
|
||||
if (price == null) {
|
||||
if (price == null || marketPrice == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user