mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Show conf screen after send request
This commit is contained in:
parent
7f947f8ab2
commit
7b1bbb7a19
@ -276,8 +276,6 @@ function signMsg (msgData) {
|
|||||||
|
|
||||||
function signTx (txData) {
|
function signTx (txData) {
|
||||||
return (dispatch) => {
|
return (dispatch) => {
|
||||||
dispatch(actions.showLoadingIndication())
|
|
||||||
|
|
||||||
web3.eth.sendTransaction(txData, (err, data) => {
|
web3.eth.sendTransaction(txData, (err, data) => {
|
||||||
dispatch(actions.hideLoadingIndication())
|
dispatch(actions.hideLoadingIndication())
|
||||||
|
|
||||||
@ -285,6 +283,7 @@ function signTx (txData) {
|
|||||||
dispatch(actions.hideWarning())
|
dispatch(actions.hideWarning())
|
||||||
dispatch(actions.goHome())
|
dispatch(actions.goHome())
|
||||||
})
|
})
|
||||||
|
dispatch(this.showConfTxPage())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user