1
0
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:
frankiebee 2018-03-19 14:32:58 -07:00
parent 424e98f6a8
commit faa4ffe163

View File

@ -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,
})
}