mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix getFullTxData so that customTxParamsData is not lost (#16805)
Co-authored-by: Pedro Figueiredo <ganseki.figueiredo@gmail.com>
This commit is contained in:
parent
e52fd71b1b
commit
e3533878f4
@ -841,7 +841,7 @@ export const getFullTxData = createDeepEqualSelector(
|
||||
return getTransaction(state, transactionId);
|
||||
},
|
||||
(_state, _transactionId, _status, customTxParamsData) => customTxParamsData,
|
||||
(txData, transaction, _status, customTxParamsData) => {
|
||||
(txData, transaction, customTxParamsData) => {
|
||||
let fullTxData = { ...txData, ...transaction };
|
||||
if (transaction && transaction.simulationFails) {
|
||||
txData.simulationFails = transaction.simulationFails;
|
||||
|
Loading…
Reference in New Issue
Block a user