diff --git a/cli/src/main/java/bisq/cli/table/builder/AbstractTradeListBuilder.java b/cli/src/main/java/bisq/cli/table/builder/AbstractTradeListBuilder.java index dd09d1e8f9..79059ae496 100644 --- a/cli/src/main/java/bisq/cli/table/builder/AbstractTradeListBuilder.java +++ b/cli/src/main/java/bisq/cli/table/builder/AbstractTradeListBuilder.java @@ -206,10 +206,15 @@ abstract class AbstractTradeListBuilder extends AbstractTableBuilder { ? formatToPercent(t.getOffer().getMarketPriceMargin()) : "N/A"; - protected final Function toMyMinerTxFee = (t) -> - isTaker.test(t) + protected final Function toMyMinerTxFee = (t) -> { + if (isBsqSwapTrade.test(t)) { + return t.getTxFeeAsLong(); // TODO What is trader's 'share' of tx-fee? + } else { + return isTaker.test(t) ? t.getTxFeeAsLong() : t.getOffer().getTxFee(); + } + }; protected final BiFunction toTradeFeeBsq = (t, isMyOffer) -> { if (isMyOffer) {