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