aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send.container.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-27 21:46:24 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-01 23:23:32 +0800
commit918fb71df3079a80102fb77893af69ef3372e75f (patch)
tree6cfd03137fc27a53acee80ced7d0f78645fc0a32 /ui/app/components/send/send.container.js
parent3741927d8d63bbee1eb9a628d2aac4c8e2e67f99 (diff)
downloadtangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar.gz
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar.bz2
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar.lz
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar.xz
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.tar.zst
tangerine-wallet-browser-918fb71df3079a80102fb77893af69ef3372e75f.zip
Update gas when hex data changes on send screen
Diffstat (limited to 'ui/app/components/send/send.container.js')
-rw-r--r--ui/app/components/send/send.container.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/send/send.container.js b/ui/app/components/send/send.container.js
index 6ee8de9aa..87056499f 100644
--- a/ui/app/components/send/send.container.js
+++ b/ui/app/components/send/send.container.js
@@ -86,9 +86,10 @@ function mapDispatchToProps (dispatch) {
selectedToken,
to,
value,
+ data,
}) => {
!editingTransactionId
- ? dispatch(updateGasData({ recentBlocks, selectedAddress, selectedToken, blockGasLimit, to, value }))
+ ? dispatch(updateGasData({ recentBlocks, selectedAddress, selectedToken, blockGasLimit, to, value, data }))
: dispatch(setGasTotal(calcGasTotal(gasLimit, gasPrice)))
},
updateSendTokenBalance: ({ selectedToken, tokenContract, address }) => {