<p></p>
<p><b>@ghubstan</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/bisq-network/bisq/pull/5357#discussion_r606301166">cli/src/main/java/bisq/cli/TradeFormat.java</a>:</p>
<pre style='color:#555'>> @@ -181,4 +190,32 @@ private static String formatTradeData(String format,
t.getOffer().getBaseCurrencyCode().equals("BTC")
? formatOfferVolume(t.getOffer().getVolume())
: formatSatoshis(t.getTradeAmountAsLong());
+
+ private static final BiFunction<TradeInfo, Boolean, String> bsqReceiveAddress = (t, showBsqBuyerAddress) -> {
+ if (showBsqBuyerAddress) {
+ ContractInfo contract = t.getContract();
+ boolean isBuyerMakerAndSellerTaker = contract.getIsBuyerMakerAndSellerTaker();
+ return isBuyerMakerAndSellerTaker // (is BTC buyer / maker)
+ ? contract.getTakerPaymentAccountPayload().getAddress()
+ : contract.getMakerPaymentAccountPayload().getAddress();
+ } else {
+ return "";
+ }
+ };
+
+ private static boolean shouldShowBqsBuyerAddress(TradeInfo tradeInfo, boolean isTaker) {
</pre>
<p>Fixed in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bisq-network/bisq/commit/bddc273bb27ba73f93ed9e9cea4defa598c9f28c/hovercard" href="https://github.com/bisq-network/bisq/commit/bddc273bb27ba73f93ed9e9cea4defa598c9f28c"><tt>bddc273</tt></a>.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5357#discussion_r606301166">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXMGGY5YC6UYL3RBCDTGXSXTANCNFSM4Z2HXPAQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNV4TG4J67VDLCANUYLTGXSXTA5CNFSM4Z2HXPA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEVQD2IA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5357#discussion_r606301166",
"url": "https://github.com/bisq-network/bisq/pull/5357#discussion_r606301166",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>