mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
View tx after editing state to unconfirmed
This commit is contained in:
parent
97abbc5cbe
commit
81fb9db1bc
@ -762,7 +762,15 @@ function markAccountsFound () {
|
|||||||
|
|
||||||
function retryTransaction (txId) {
|
function retryTransaction (txId) {
|
||||||
log.debug(`background.retryTransaction`)
|
log.debug(`background.retryTransaction`)
|
||||||
return callBackgroundThenUpdate(background.retryTransaction, txId)
|
return (dispatch) => {
|
||||||
|
background.retryTransaction(txId, (err) => {
|
||||||
|
if (err) {
|
||||||
|
return dispatch(actions.displayWarning(err.message))
|
||||||
|
}
|
||||||
|
forceUpdateMetamaskState(dispatch)
|
||||||
|
dispatch(actions.viewPendingTx(txId))
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user