Skip to content

Commit

Permalink
Fix getFullTxData so that customTxParamsData is not lost (#16805)
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Figueiredo <[email protected]>
  • Loading branch information
danjm and pedronfigueiredo authored Dec 5, 2022
1 parent 9ede85c commit 2434c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,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;
Expand Down

0 comments on commit 2434c43

Please sign in to comment.