Merge pull request #3623 from MetaMask/i#3554

new-ui - dont exclude `txParams.data` when editing and updating txParams
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit 5d316d9a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/send-v2.js

@ -578,9 +578,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…
Cancel
Save