diff options
Customize Gas connected to state
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r-- | ui/app/send-v2.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index af7586859..314f6a666 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -62,12 +62,6 @@ SendTransactionScreen.prototype.componentWillMount = function () { gas: '746a528800', }), ]) - .then(([blockGasPrice, estimatedGas]) => { - this.setState({ - gasPrice: blockGasPrice, - gasLimit: estimatedGas, - }) - }) } SendTransactionScreen.prototype.renderHeaderIcon = function () { @@ -112,14 +106,16 @@ SendTransactionScreen.prototype.render = function () { showCustomizeGasModal, selectedAccount, primaryCurrency = 'ETH', + gasLimit, + gasPrice, } = this.props const { dropdownOpen, to, amount, - gasLimit, - gasPrice, + // gasLimit, + // gasPrice, memo, } = this.state |