diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-03-20 05:32:58 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-03-20 05:32:58 +0800 |
commit | faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000 (patch) | |
tree | 7a2e2809c1adaef7aa2720e3a0d94c6ceac797ce /ui/app/send-v2.js | |
parent | 424e98f6a896df6a848a92ef318464abc505d83d (diff) | |
download | tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar.gz tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar.bz2 tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar.lz tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar.xz tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.tar.zst tangerine-wallet-browser-faa4ffe1636ce9f7cc68bffe1eb7b1e685a2d000.zip |
new-ui - dont exclude `txParams.data` when editing and updating txParams
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r-- | ui/app/send-v2.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index fc1df1f51..491c4dda3 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -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, }) } |