From 252d69228245f26f9ff2a2ba22db5b17074c009e Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 27 Mar 2018 03:40:34 -0230 Subject: Prefixes to addresses with 0x before sending. --- ui/app/send-v2.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/app/send-v2.js') diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index 620da73f8..67a470956 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -597,7 +597,7 @@ SendTransactionScreen.prototype.onSubmit = function (event) { event.preventDefault() const { from: {address: from}, - to, + to: _to, amount, gasLimit: gas, gasPrice, @@ -616,6 +616,8 @@ SendTransactionScreen.prototype.onSubmit = function (event) { return } + const to = ethUtil.addHexPrefix(_to) + this.addToAddressBookIfNew(to, toNickname) if (editingTransactionId) { -- cgit v1.2.3