aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/tx-list-item.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js
index a411edd89..116813547 100644
--- a/ui/app/components/tx-list-item.js
+++ b/ui/app/components/tx-list-item.js
@@ -71,7 +71,8 @@ TxListItem.prototype.getAddressText = function () {
let addressText
if (txDataName === 'transfer' || address) {
- addressText = `${value.slice(0, 10)}...${value.slice(-4)}`
+ const addressToRender = txDataName === 'transfer' ? value : address
+ addressText = `${addressToRender.slice(0, 10)}...${addressToRender.slice(-4)}`
} else if (isMsg) {
addressText = this.props.t('sigRequest')
} else {