Prefixes to addresses with 0x before sending.

feature/default_network_editable
Dan 7 years ago
parent dac66b8ee9
commit 252d692282
  1. 4
      ui/app/send-v2.js

@ -597,7 +597,7 @@ SendTransactionScreen.prototype.onSubmit = function (event) {
event.preventDefault() event.preventDefault()
const { const {
from: {address: from}, from: {address: from},
to, to: _to,
amount, amount,
gasLimit: gas, gasLimit: gas,
gasPrice, gasPrice,
@ -616,6 +616,8 @@ SendTransactionScreen.prototype.onSubmit = function (event) {
return return
} }
const to = ethUtil.addHexPrefix(_to)
this.addToAddressBookIfNew(to, toNickname) this.addToAddressBookIfNew(to, toNickname)
if (editingTransactionId) { if (editingTransactionId) {

Loading…
Cancel
Save