Identicon in send token show who you are sending to, not the token's identicon.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent 89af385a35
commit 7362fb8dfc
  1. 6
      ui/app/components/pending-tx/confirm-send-token.js

@ -145,14 +145,14 @@ ConfirmSendToken.prototype.getData = function () {
const { value } = params[0] || {}
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
return {
from: {
address: txParams.from,
name: identities[txParams.from].name,
},
to: {
address: txParams.to,
address: value,
name: identities[value] ? identities[value].name : 'New Recipient',
},
memo: txParams.memo || '',
@ -290,7 +290,7 @@ ConfirmSendToken.prototype.render = function () {
h(
Identicon,
{
address: txParams.to,
address: toAddress,
diameter: 60,
},
),

Loading…
Cancel
Save