aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors
diff options
context:
space:
mode:
authorChen Wei <chenwei@byzantine-lab.io>2019-07-02 15:04:00 +0800
committerChen Wei <chenwei@byzantine-lab.io>2019-07-02 15:04:00 +0800
commitffb58b74793e9b5d5caf36efdc5d7d3867c2e162 (patch)
tree94e0b86e54e6ba2062a64bb9536a575b9f6c309b /ui/app/selectors
parent11b14616db1153510b4c37edada7463d2e9a368b (diff)
downloadtangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.gz
tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.zst
tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.zip
configuration, translation updating
Diffstat (limited to 'ui/app/selectors')
-rw-r--r--ui/app/selectors/custom-gas.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/ui/app/selectors/custom-gas.js b/ui/app/selectors/custom-gas.js
index 1f7ee8f9f..a1df738f6 100644
--- a/ui/app/selectors/custom-gas.js
+++ b/ui/app/selectors/custom-gas.js
@@ -238,10 +238,10 @@ function getRenderableBasicEstimateData (state, gasLimit) {
const {
gas: {
basicEstimates: {
- safeLow,
+ // safeLow,
fast,
fastest,
- safeLowWait,
+ // safeLowWait,
fastestWait,
fastWait,
},
@@ -249,15 +249,15 @@ function getRenderableBasicEstimateData (state, gasLimit) {
} = state
return [
- {
- labelKey: 'slow',
- feeInPrimaryCurrency: getRenderableEthFee(safeLow, gasLimit),
- feeInSecondaryCurrency: showFiat
- ? getRenderableConvertedCurrencyFee(safeLow, gasLimit, currentCurrency, conversionRate)
- : '',
- timeEstimate: safeLowWait && getRenderableTimeEstimate(safeLowWait),
- priceInHexWei: getGasPriceInHexWei(safeLow),
- },
+ // {
+ // labelKey: 'slow',
+ // feeInPrimaryCurrency: getRenderableEthFee(safeLow, gasLimit),
+ // feeInSecondaryCurrency: showFiat
+ // ? getRenderableConvertedCurrencyFee(safeLow, gasLimit, currentCurrency, conversionRate)
+ // : '',
+ // timeEstimate: safeLowWait && getRenderableTimeEstimate(safeLowWait),
+ // priceInHexWei: getGasPriceInHexWei(safeLow),
+ // },
{
labelKey: 'average',
feeInPrimaryCurrency: getRenderableEthFee(fast, gasLimit),
@@ -293,7 +293,7 @@ function getRenderableEstimateDataForSmallButtonsFromGWEI (state) {
const {
gas: {
basicEstimates: {
- safeLow,
+ // safeLow,
fast,
fastest,
},
@@ -301,14 +301,14 @@ function getRenderableEstimateDataForSmallButtonsFromGWEI (state) {
} = state
return [
- {
- labelKey: 'slow',
- feeInSecondaryCurrency: showFiat
- ? getRenderableConvertedCurrencyFee(safeLow, gasLimit, currentCurrency, conversionRate)
- : '',
- feeInPrimaryCurrency: getRenderableEthFee(safeLow, gasLimit, NUMBER_OF_DECIMALS_SM_BTNS, true),
- priceInHexWei: getGasPriceInHexWei(safeLow, true),
- },
+ // {
+ // labelKey: 'slow',
+ // feeInSecondaryCurrency: showFiat
+ // ? getRenderableConvertedCurrencyFee(safeLow, gasLimit, currentCurrency, conversionRate)
+ // : '',
+ // feeInPrimaryCurrency: getRenderableEthFee(safeLow, gasLimit, NUMBER_OF_DECIMALS_SM_BTNS, true),
+ // priceInHexWei: getGasPriceInHexWei(safeLow, true),
+ // },
{
labelKey: 'average',
feeInSecondaryCurrency: showFiat