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