Merge pull request #4535 from MetaMask/i4508-fix-gas-edit-confirm-screen

Fix gas limit editing on confirm screen
feature/default_network_editable
Dan J Miller 7 years ago committed by GitHub
commit b7a469681b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/components/pending-tx/confirm-send-ether.js
  2. 2
      ui/app/components/pending-tx/confirm-send-token.js

@ -647,7 +647,7 @@ ConfirmSendEther.prototype.gatherTxMeta = function () {
const state = this.state const state = this.state
const txData = clone(state.txData) || clone(props.txData) const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send
const { const {
lastGasPrice, lastGasPrice,
txParams: { txParams: {

@ -651,7 +651,7 @@ ConfirmSendToken.prototype.gatherTxMeta = function () {
const state = this.state const state = this.state
const txData = clone(state.txData) || clone(props.txData) const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send
const { const {
lastGasPrice, lastGasPrice,
txParams: { txParams: {

Loading…
Cancel
Save