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:
parent
c0d2dab28b
commit
049071a743
@ -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…
Reference in New Issue
Block a user