aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-29 02:46:33 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-29 02:52:15 +0800
commit81d3658343bbdf8dd85b175f759c372d9ee00fb8 (patch)
treedf3973c062c7c16ce0c965860c6c630f821d7602 /ui/app/actions.js
parent903d3aeb7a3482f9de1d43d5634bdfec59715288 (diff)
downloadtangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar.gz
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar.bz2
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar.lz
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar.xz
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.tar.zst
tangerine-wallet-browser-81d3658343bbdf8dd85b175f759c372d9ee00fb8.zip
Improve UI gas calculation logic
- Now striping hex prefixed gas values, which may have been causing mis-estimation. - Unified calculation logic to be entirely functional. - Greatly simplified how the pending-tx form keeps updated form state. Still needs a commit from @kumavis to ensure the background passes in a txMeta.txParams.gasPrice value.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 7288db256..19c0e66ad 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -421,6 +421,7 @@ function updateAndApproveTx (txData) {
return (dispatch) => {
log.debug(`actions calling background.updateAndApproveTx`)
background.updateAndApproveTransaction(txData, (err) => {
+ dispatch(actions.hideLoadingIndication())
if (err) {
dispatch(actions.txError(err))
return console.error(err.message)