mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-18 19:28:08 -04:00
document signing accounts in deployment guide, minor fixes
This commit is contained in:
parent
f6b33e877f
commit
af38f82406
6 changed files with 28 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue