mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-13 11:09:10 +01:00
fix NPE in portfolio view when market price n/a
This commit is contained in:
parent
58d93f6e04
commit
e00532a040
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue