We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef54ca5 commit 31a9551Copy full SHA for 31a9551
core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java
@@ -416,8 +416,8 @@ public Price getTradePrice() {
416
public long getPrice() {
417
boolean isInverted = CurrencyUtil.isCryptoCurrency(currency) &&
418
(extraDataMap == null ||
419
- (extraDataMap.containsKey(Trade.PROTOCOL_VERSION) &&
420
- Integer.parseInt(extraDataMap.get(Trade.PROTOCOL_VERSION)) < 3));
+ !extraDataMap.containsKey(Trade.PROTOCOL_VERSION) ||
+ Integer.parseInt(extraDataMap.get(Trade.PROTOCOL_VERSION)) < 3);
421
return isInverted ? PriceUtil.invertLongPrice(price, currency) : price;
422
}
423
0 commit comments