mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +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) {
|
||||
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();
|
||||
|
|
Loading…
Reference in a new issue