diff options
author | Dan <danjm.com@gmail.com> | 2018-06-08 23:22:38 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-06-08 23:22:38 +0800 |
commit | 049071a743581d142b0426d25613d1318d41093f (patch) | |
tree | fd0c77a0b58095a1c4f684847fd396990693cb6a /ui | |
parent | c0d2dab28b4083ee3ef65b6b561e28c811c6773d (diff) | |
download | dexon-wallet-049071a743581d142b0426d25613d1318d41093f.tar.gz dexon-wallet-049071a743581d142b0426d25613d1318d41093f.tar.zst dexon-wallet-049071a743581d142b0426d25613d1318d41093f.zip |
Access correct property from state in confirm screen components gatherTxMeta()
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-ether.js | 2 | ||||
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-token.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js index 97d0318e..bbf5683f 100644 --- a/ui/app/components/pending-tx/confirm-send-ether.js +++ b/ui/app/components/pending-tx/confirm-send-ether.js @@ -647,7 +647,7 @@ ConfirmSendEther.prototype.gatherTxMeta = function () { const state = this.state const txData = clone(state.txData) || clone(props.txData) - const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send + const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send const { lastGasPrice, txParams: { diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js index 1802d314..ee066b8f 100644 --- a/ui/app/components/pending-tx/confirm-send-token.js +++ b/ui/app/components/pending-tx/confirm-send-token.js @@ -651,7 +651,7 @@ ConfirmSendToken.prototype.gatherTxMeta = function () { const state = this.state const txData = clone(state.txData) || clone(props.txData) - const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send + const { gasPrice: sendGasPrice, gasLimit: sendGasLimit } = props.send const { lastGasPrice, txParams: { |