aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-03-21 01:44:48 +0800
committerGitHub <noreply@github.com>2018-03-21 01:44:48 +0800
commit5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56 (patch)
tree91f4f0df06b867d2fd05f2ff61462ea892bbe893 /ui
parentde5dee51b15720b568a86cd45032af70cb770a2b (diff)
parentfaa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000 (diff)
downloadtangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar.gz
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar.bz2
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar.lz
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar.xz
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.tar.zst
tangerine-wallet-browser-5d316d9a4eb590f3a3b5e84e6425ca4c7ad3ca56.zip
Merge pull request #3623 from MetaMask/i#3554
new-ui - dont exclude `txParams.data` when editing and updating txParams
Diffstat (limited to 'ui')
-rw-r--r--ui/app/send-v2.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index 5ac59fc29..6133eadab 100644
--- a/ui/app/send-v2.js
+++ b/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,
})
}