From 302c8153092136f752c30507b536e0b0402de8e7 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 26 Aug 2019 10:30:39 -0700 Subject: [PATCH] Get and set average gas price button estimation as default --- ui/app/pages/send/send.selectors.js | 4 ++-- 1 file 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) {