mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-04 20:54:13 -04:00
fixes when cloned offers are taken at the same time
This commit is contained in:
parent
13e13d945d
commit
c7a3a9740f
6 changed files with 47 additions and 24 deletions
|
@ -346,7 +346,8 @@ public class DepositView extends ActivatableView<VBox, Void> {
|
|||
List<XmrAddressEntry> addressEntries = xmrWalletService.getAddressEntries();
|
||||
List<DepositListItem> items = new ArrayList<>();
|
||||
for (XmrAddressEntry addressEntry : addressEntries) {
|
||||
if (addressEntry.isTradePayout()) continue; // do not show trade payout addresses
|
||||
DepositListItem item = new DepositListItem(addressEntry, xmrWalletService, formatter);
|
||||
if (addressEntry.isTradePayout() && BigInteger.ZERO.equals(item.getBalanceAsBI())) continue; // do not show empty trade payout addresses
|
||||
items.add(new DepositListItem(addressEntry, xmrWalletService, formatter));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue