From 45faf3d558fa76b4426bab9fe69fea7d6c83d05e Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 18 Jul 2018 10:21:15 -0230 Subject: [PATCH] Show first four characters of account after 0x in tx list --- .../components/selected-account/selected-account.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/components/selected-account/selected-account.component.js b/ui/app/components/selected-account/selected-account.component.js index 3386a4196..79f0cb93a 100644 --- a/ui/app/components/selected-account/selected-account.component.js +++ b/ui/app/components/selected-account/selected-account.component.js @@ -5,11 +5,11 @@ import copyToClipboard from 'copy-to-clipboard' const Tooltip = require('../tooltip-v2.js') const addressStripper = (address = '') => { - if (address.length < 4) { + if (address.length < 11) { return address } - return `${address.slice(0, 4)}...${address.slice(-4)}` + return `${address.slice(0, 6)}...${address.slice(-4)}` } class SelectedAccount extends Component {