mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix retry transaction (#8177)
The `createRetryTransaction` was accidentally removed from the `gas-modal-page-container` component during a refactor in #7730. Attempting to retry a transaction since that change has resulted in a UI crash.
This commit is contained in:
parent
5c4831bdee
commit
ad5174a588
@ -5,6 +5,7 @@ import {
|
|||||||
hideModal,
|
hideModal,
|
||||||
setGasLimit,
|
setGasLimit,
|
||||||
setGasPrice,
|
setGasPrice,
|
||||||
|
createRetryTransaction,
|
||||||
createSpeedUpTransaction,
|
createSpeedUpTransaction,
|
||||||
hideSidebar,
|
hideSidebar,
|
||||||
updateSendAmount,
|
updateSendAmount,
|
||||||
@ -185,6 +186,9 @@ const mapDispatchToProps = (dispatch) => {
|
|||||||
dispatch(setCustomGasLimit(addHexPrefix(gasLimit.toString(16))))
|
dispatch(setCustomGasLimit(addHexPrefix(gasLimit.toString(16))))
|
||||||
return dispatch(updateTransaction(updatedTx))
|
return dispatch(updateTransaction(updatedTx))
|
||||||
},
|
},
|
||||||
|
createRetryTransaction: (txId, gasPrice) => {
|
||||||
|
return dispatch(createRetryTransaction(txId, gasPrice))
|
||||||
|
},
|
||||||
createSpeedUpTransaction: (txId, gasPrice) => {
|
createSpeedUpTransaction: (txId, gasPrice) => {
|
||||||
return dispatch(createSpeedUpTransaction(txId, gasPrice))
|
return dispatch(createSpeedUpTransaction(txId, gasPrice))
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user