mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-10-05 11:08:25 +00:00
revalidate the send amount when payments are set from a uri opened externally or a spend event so insufficient and dust warnings show
This commit is contained in:
@@ -749,6 +749,7 @@ public class PaymentController extends WalletFormController implements Initializ
|
|||||||
}
|
}
|
||||||
if(payment.getAmount() >= 0) {
|
if(payment.getAmount() >= 0) {
|
||||||
setRecipientValueSats(payment.getAmount());
|
setRecipientValueSats(payment.getAmount());
|
||||||
|
revalidateAmount();
|
||||||
}
|
}
|
||||||
setFiatAmount(AppServices.getFiatCurrencyExchangeRate(), payment.getAmount());
|
setFiatAmount(AppServices.getFiatCurrencyExchangeRate(), payment.getAmount());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user