fix: auto-updated fee levels label

pull/2/merge
Szymon Lesisz 6 years ago
parent 859b5da127
commit 5b2e642b20

@ -96,7 +96,7 @@ const onGasPriceUpdated = (state: State, action: Web3UpdateGasPriceAction): Stat
newState.gasPriceNeedsUpdate = true;
newState.recommendedGasPrice = newPrice;
} else {
const newFeeLevels = getFeeLevels(state.network, newPrice, state.gasLimit);
const newFeeLevels = getFeeLevels(state.coinSymbol, newPrice, state.gasLimit);
const selectedFeeLevel: ?FeeLevel = newFeeLevels.find(f => f.value === 'Normal');
if (!selectedFeeLevel) return state;
newState.recommendedGasPrice = newPrice;

Loading…
Cancel
Save