aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/send-v2.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index 220bdd1a9..52b8bb273 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -596,7 +596,7 @@ SendTransactionScreen.prototype.onSubmit = function (event) {
event.preventDefault()
const {
from: {address: from},
- to,
+ to: _to,
amount,
gasLimit: gas,
gasPrice,
@@ -615,6 +615,8 @@ SendTransactionScreen.prototype.onSubmit = function (event) {
return
}
+ const to = ethUtil.addHexPrefix(_to)
+
this.addToAddressBookIfNew(to, toNickname)
if (editingTransactionId) {