mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
allow positive amounts below dust limit when sending to paynyms
This commit is contained in:
parent
e625a4e542
commit
5d0025b4a7
1 changed files with 5 additions and 0 deletions
|
@ -180,6 +180,7 @@ public class PaymentController extends WalletFormController implements Initializ
|
||||||
if(newValue != null) {
|
if(newValue != null) {
|
||||||
sendController.setPayNymPayment();
|
sendController.setPayNymPayment();
|
||||||
}
|
}
|
||||||
|
revalidateAmount();
|
||||||
});
|
});
|
||||||
|
|
||||||
address.textProperty().addListener((observable, oldValue, newValue) -> {
|
address.textProperty().addListener((observable, oldValue, newValue) -> {
|
||||||
|
@ -320,6 +321,10 @@ public class PaymentController extends WalletFormController implements Initializ
|
||||||
}
|
}
|
||||||
|
|
||||||
private long getRecipientDustThreshold() {
|
private long getRecipientDustThreshold() {
|
||||||
|
if(payNymProperty.get() != null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
Address address;
|
Address address;
|
||||||
try {
|
try {
|
||||||
address = getRecipientAddress();
|
address = getRecipientAddress();
|
||||||
|
|
Loading…
Reference in a new issue