mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 16:43:14 +00:00
allow positive amounts below dust limit when sending to paynyms
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user