diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-20 05:57:30 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-20 05:57:30 +0800 |
commit | afbc4c832ba86fcb94b612c93796a5ffa422b457 (patch) | |
tree | dbdaa16920fd175171603b182d332dbf87655bd4 /ui/app/actions.js | |
parent | ad3fa24a28c0ec45dca43a257005626a4027487a (diff) | |
parent | a88a48ba14a213920ce1becb0b70cf10192ad3e5 (diff) | |
download | tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar.gz tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar.bz2 tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar.lz tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar.xz tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.tar.zst tangerine-wallet-browser-afbc4c832ba86fcb94b612c93796a5ffa422b457.zip |
Git merge resolution.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index a594fa321..a6601cd0e 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -225,14 +225,16 @@ function signMsg (msgData) { function signTx (txData) { return (dispatch) => { - web3.eth.sendTransaction(txData, (err, data) => { - dispatch(actions.hideLoadingIndication()) - + _accountManager.setGasMultiplier(txData.gasMultiplier, (err) => { if (err) return dispatch(actions.displayWarning(err.message)) - dispatch(actions.hideWarning()) - dispatch(actions.goHome()) + web3.eth.sendTransaction(txData, (err, data) => { + dispatch(actions.hideLoadingIndication()) + if (err) return dispatch(actions.displayWarning(err.message)) + dispatch(actions.hideWarning()) + dispatch(actions.goHome()) + }) + dispatch(this.showConfTxPage()) }) - dispatch(this.showConfTxPage()) } } |