document signing accounts in deployment guide, minor fixes

This commit is contained in:
woodser 2023-11-10 11:29:23 -05:00
parent f6b33e877f
commit af38f82406
6 changed files with 28 additions and 16 deletions

View file

@ -21,6 +21,7 @@ import haveno.core.locale.CurrencyUtil;
import haveno.core.monetary.Price;
import haveno.core.offer.Offer;
import haveno.core.offer.OfferDirection;
import haveno.core.trade.ArbitratorTrade;
import haveno.core.trade.ClosedTradableFormatter;
import haveno.core.trade.ClosedTradableManager;
import haveno.core.trade.Tradable;
@ -100,7 +101,7 @@ public class ClosedTradesListItem implements FilterableListItem {
public String getDirectionLabel() {
Offer offer = tradable.getOffer();
OfferDirection direction = closedTradableManager.wasMyOffer(offer)
OfferDirection direction = closedTradableManager.wasMyOffer(offer) || tradable instanceof ArbitratorTrade
? offer.getDirection()
: offer.getMirroredDirection();
String currencyCode = tradable.getOffer().getCurrencyCode();