Browse Source

default to mempool size fee rates selection if not configured

terminal
Craig Raw 4 years ago
parent
commit
ffbf4bb0db
  1. 2
      src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java

2
src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java

@ -272,7 +272,7 @@ public class SendController extends WalletFormController implements Initializabl
} }
FeeRatesSelection feeRatesSelection = Config.get().getFeeRatesSelection(); FeeRatesSelection feeRatesSelection = Config.get().getFeeRatesSelection();
feeRatesSelection = (feeRatesSelection == null ? FeeRatesSelection.BLOCK_TARGET : feeRatesSelection); feeRatesSelection = (feeRatesSelection == null ? FeeRatesSelection.MEMPOOL_SIZE : feeRatesSelection);
setDefaultFeeRate(); setDefaultFeeRate();
updateFeeRateSelection(feeRatesSelection); updateFeeRateSelection(feeRatesSelection);
feeSelectionToggleGroup.selectToggle(feeRatesSelection == FeeRatesSelection.BLOCK_TARGET ? targetBlocksToggle : mempoolSizeToggle); feeSelectionToggleGroup.selectToggle(feeRatesSelection == FeeRatesSelection.BLOCK_TARGET ? targetBlocksToggle : mempoolSizeToggle);

Loading…
Cancel
Save