mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Prefixes to addresses with 0x before sending.
This commit is contained in:
parent
dac66b8ee9
commit
252d692282
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user