minor bug fix

This commit is contained in:
Craig Raw 2020-07-16 10:53:26 +02:00
parent d2291ef870
commit e79f5ba977

View file

@ -454,8 +454,8 @@ public class SendController extends WalletFormController implements Initializabl
updateTransaction(true);
}
private void setFiatAmount(CurrencyRate currencyRate, long amount) {
if(currencyRate != null && currencyRate.isAvailable()) {
private void setFiatAmount(CurrencyRate currencyRate, Long amount) {
if(amount != null && currencyRate != null && currencyRate.isAvailable()) {
fiatAmount.set(currencyRate, amount);
}
}