show seller's receive address for crypto in trade step view

This commit is contained in:
woodser 2024-11-05 12:15:42 -05:00
parent 6730d023d6
commit 5d85335dc7

View file

@ -203,10 +203,8 @@ public class SellerStep3View extends TradeStepView {
.orElse("");
if (myPaymentAccountPayload instanceof AssetAccountPayload) {
if (myPaymentDetails.isEmpty()) {
// Not expected
// for crypto always display the receiving address
myPaymentDetails = ((AssetAccountPayload) myPaymentAccountPayload).getAddress();
}
peersPaymentDetails = peersPaymentAccountPayload != null ?
((AssetAccountPayload) peersPaymentAccountPayload).getAddress() : "NA";
myTitle = Res.get("portfolio.pending.step3_seller.yourAddress", currencyName);