mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #3623 from MetaMask/i#3554
new-ui - dont exclude `txParams.data` when editing and updating txParams
This commit is contained in:
commit
5d316d9a4e
@ -578,9 +578,11 @@ SendTransactionScreen.prototype.getEditedTx = function () {
|
|||||||
data,
|
data,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
const data = unapprovedTxs[editingTransactionId].txParams.data
|
||||||
Object.assign(editingTx.txParams, {
|
Object.assign(editingTx.txParams, {
|
||||||
value: ethUtil.addHexPrefix(amount),
|
value: ethUtil.addHexPrefix(amount),
|
||||||
to: ethUtil.addHexPrefix(to),
|
to: ethUtil.addHexPrefix(to),
|
||||||
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user