allow positive amounts below dust limit when sending to paynyms

This commit is contained in:
Craig Raw 2021-12-15 09:42:30 +02:00
parent e625a4e542
commit 5d0025b4a7

View file

@ -180,6 +180,7 @@ public class PaymentController extends WalletFormController implements Initializ
if(newValue != null) {
sendController.setPayNymPayment();
}
revalidateAmount();
});
address.textProperty().addListener((observable, oldValue, newValue) -> {
@ -320,6 +321,10 @@ public class PaymentController extends WalletFormController implements Initializ
}
private long getRecipientDustThreshold() {
if(payNymProperty.get() != null) {
return 0;
}
Address address;
try {
address = getRecipientAddress();