diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2019-08-27 02:57:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-27 02:57:44 +0800 |
commit | b8e69369d54763cc58695687738ac3885014f3b4 (patch) | |
tree | 1fa5de83ebef379656b47c3844e2cc862f169bfb | |
parent | 4e29fb97d60995f053bcaa63d43c9771520f7a91 (diff) | |
parent | 302c8153092136f752c30507b536e0b0402de8e7 (diff) | |
download | tangerine-wallet-browser-b8e69369d54763cc58695687738ac3885014f3b4.tar.gz tangerine-wallet-browser-b8e69369d54763cc58695687738ac3885014f3b4.tar.zst tangerine-wallet-browser-b8e69369d54763cc58695687738ac3885014f3b4.zip |
Merge pull request #7068 from MetaMask/Average-Gas-Button
Get and set average gas price button estimation as default
-rw-r--r-- | ui/app/pages/send/send.selectors.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/pages/send/send.selectors.js b/ui/app/pages/send/send.selectors.js index ed2917020..00ecd635a 100644 --- a/ui/app/pages/send/send.selectors.js +++ b/ui/app/pages/send/send.selectors.js @@ -13,7 +13,7 @@ const { calcGasTotal, } = require('./send.utils') import { - getFastPriceEstimateInHexWEI, + getAveragePriceEstimateInHexWEI, } from '../../selectors/custom-gas' const selectors = { @@ -120,7 +120,7 @@ function getGasLimit (state) { } function getGasPrice (state) { - return state.metamask.send.gasPrice || getFastPriceEstimateInHexWEI(state) + return state.metamask.send.gasPrice || getAveragePriceEstimateInHexWEI(state) } function getGasPriceFromRecentBlocks (state) { |