handle no prior connection for fetching min relay fee rate

This commit is contained in:
Craig Raw 2020-10-20 11:36:23 +02:00
parent ac438ec023
commit 2cf653702c

View file

@ -644,7 +644,7 @@ public class AppController implements Initializable {
}
public static Double getMinimumRelayFeeRate() {
return minimumRelayFeeRate;
return minimumRelayFeeRate == null ? Transaction.DEFAULT_MIN_RELAY_FEE : minimumRelayFeeRate;
}
public static CurrencyRate getFiatCurrencyExchangeRate() {