aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-12-07 12:20:15 +0800
committerDan Finlay <dan@danfinlay.com>2017-12-07 12:20:15 +0800
commit31564e0a86072ae2b49923dcf28983075308c432 (patch)
tree6c284ec17f92e0619064a80e405bf0070bd2bdd7 /ui/app
parent81fb9db1bcd08fb4e92d87d0c0905cb02dac63c2 (diff)
downloadtangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar.gz
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar.bz2
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar.lz
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar.xz
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.tar.zst
tangerine-wallet-browser-31564e0a86072ae2b49923dcf28983075308c432.zip
Fix retry action
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 0dc4f3832..52ea899aa 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -763,11 +763,11 @@ function markAccountsFound () {
function retryTransaction (txId) {
log.debug(`background.retryTransaction`)
return (dispatch) => {
- background.retryTransaction(txId, (err) => {
+ background.retryTransaction(txId, (err, newState) => {
if (err) {
return dispatch(actions.displayWarning(err.message))
}
- forceUpdateMetamaskState(dispatch)
+ dispatch(actions.updateMetamaskState(newState))
dispatch(actions.viewPendingTx(txId))
})
}