mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +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" +
|
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();
|
"Please select in the address table an unused address.").show();
|
||||||
} else {
|
} else {
|
||||||
AddressEntry newSavingsAddressEntry = walletService.createAddressEntry(AddressEntry.Context.AVAILABLE);
|
AddressEntry newSavingsAddressEntry = walletService.getOrCreateUnusedAddressEntry(AddressEntry.Context.AVAILABLE);
|
||||||
updateList();
|
updateList();
|
||||||
observableList.stream()
|
observableList.stream()
|
||||||
.filter(depositListItem -> depositListItem.getAddressString().equals(newSavingsAddressEntry.getAddressString()))
|
.filter(depositListItem -> depositListItem.getAddressString().equals(newSavingsAddressEntry.getAddressString()))
|
||||||
|
|
Loading…
Add table
Reference in a new issue