aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
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 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,
})
}