aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-09 11:49:26 +0800
committerDan <danjm.com@gmail.com>2018-03-09 11:49:26 +0800
commit5433d2fe3a3f48948449258b03ae431fe81b8cf2 (patch)
treee71cc3b9969f0a57032a798a54305d564e9c15bc /ui/app/actions.js
parent6cee76b3e797dd302c1bf97d7799567a366b2004 (diff)
downloadtangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.gz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.bz2
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.lz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.xz
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.tar.zst
tangerine-wallet-browser-5433d2fe3a3f48948449258b03ae431fe81b8cf2.zip
Retry transaction logic added to tx-list-item, confirm-send-ether, customize-gas-modal, and dependents.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 4f902a6a2..3e050c38c 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -1228,8 +1228,10 @@ function retryTransaction (txId) {
if (err) {
return dispatch(actions.displayWarning(err.message))
}
+ const { selectedAddressTxList } = newState
+ const { id: newTxId } = selectedAddressTxList[selectedAddressTxList.length - 1]
dispatch(actions.updateMetamaskState(newState))
- dispatch(actions.viewPendingTx(txId))
+ dispatch(actions.viewPendingTx(newTxId))
})
}
}