aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-18 20:51:15 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-18 21:00:21 +0800
commit45faf3d558fa76b4426bab9fe69fea7d6c83d05e (patch)
tree8adb26815b23e8575475243adc19782caa2f283b
parentf6ca06f775a739c8b449405c5e96b03151a6a33c (diff)
downloadtangerine-wallet-browser-45faf3d558fa76b4426bab9fe69fea7d6c83d05e.tar.gz
tangerine-wallet-browser-45faf3d558fa76b4426bab9fe69fea7d6c83d05e.tar.zst
tangerine-wallet-browser-45faf3d558fa76b4426bab9fe69fea7d6c83d05e.zip
Show first four characters of account after 0x in tx list
-rw-r--r--ui/app/components/selected-account/selected-account.component.js4
1 files 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 {