mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Dont create new addresses if unused exist
This commit is contained in:
parent
e347517d27
commit
73fd06c2c2
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ public class DepositView extends ActivatableView<VBox, Void> {
|
|||
new Popup().warning("You have already at least one address which is not used yet in any transaction.\n" +
|
||||
"Please select in the address table an unused address.").show();
|
||||
} else {
|
||||
AddressEntry newSavingsAddressEntry = walletService.createAddressEntry(AddressEntry.Context.AVAILABLE);
|
||||
AddressEntry newSavingsAddressEntry = walletService.getOrCreateUnusedAddressEntry(AddressEntry.Context.AVAILABLE);
|
||||
updateList();
|
||||
observableList.stream()
|
||||
.filter(depositListItem -> depositListItem.getAddressString().equals(newSavingsAddressEntry.getAddressString()))
|
||||
|
|
Loading…
Add table
Reference in a new issue