1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Access correct property from state in confirm screen components gatherTxMeta()

This commit is contained in:
Dan 2018-06-08 12:52:38 -02:30
parent c0d2dab28b
commit 049071a743
2 changed files with 2 additions and 2 deletions

View File

@ -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: {

View File

@ -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: {