diff options
author | Dan <danjm.com@gmail.com> | 2017-10-19 02:26:13 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-20 03:34:14 +0800 |
commit | 7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43 (patch) | |
tree | 33e4262387093e74c61c08340a9bae8a836b7d50 /ui | |
parent | 89af385a352daf66ad1a6fb3bba75676fd3b9e7f (diff) | |
download | tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar.gz tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar.bz2 tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar.lz tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar.xz tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.tar.zst tangerine-wallet-browser-7362fb8dfc5b8d9f3ae9a3399f9448ea5720cd43.zip |
Identicon in send token show who you are sending to, not the token's identicon.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/pending-tx/confirm-send-token.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js index de716a26a..356da36c3 100644 --- a/ui/app/components/pending-tx/confirm-send-token.js +++ b/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, }, ), |