mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-16 15:58:08 +00:00
show seller's receive address for crypto in trade step view
This commit is contained in:
parent
6730d023d6
commit
5d85335dc7
1 changed files with 2 additions and 4 deletions
|
@ -203,10 +203,8 @@ public class SellerStep3View extends TradeStepView {
|
||||||
.orElse("");
|
.orElse("");
|
||||||
|
|
||||||
if (myPaymentAccountPayload instanceof AssetAccountPayload) {
|
if (myPaymentAccountPayload instanceof AssetAccountPayload) {
|
||||||
if (myPaymentDetails.isEmpty()) {
|
// for crypto always display the receiving address
|
||||||
// Not expected
|
|
||||||
myPaymentDetails = ((AssetAccountPayload) myPaymentAccountPayload).getAddress();
|
myPaymentDetails = ((AssetAccountPayload) myPaymentAccountPayload).getAddress();
|
||||||
}
|
|
||||||
peersPaymentDetails = peersPaymentAccountPayload != null ?
|
peersPaymentDetails = peersPaymentAccountPayload != null ?
|
||||||
((AssetAccountPayload) peersPaymentAccountPayload).getAddress() : "NA";
|
((AssetAccountPayload) peersPaymentAccountPayload).getAddress() : "NA";
|
||||||
myTitle = Res.get("portfolio.pending.step3_seller.yourAddress", currencyName);
|
myTitle = Res.get("portfolio.pending.step3_seller.yourAddress", currencyName);
|
||||||
|
|
Loading…
Reference in a new issue