Change display of UAs per ZIP-316

This commit is contained in:
Rene Vergara 2024-03-07 12:34:55 -06:00
parent e1262bf5f7
commit a366d3a87b
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -33,7 +33,7 @@ displayZec s
-- | Helper function to display abbreviated Unified Address -- | Helper function to display abbreviated Unified Address
showAddress :: UnifiedAddress -> T.Text showAddress :: UnifiedAddress -> T.Text
showAddress u = T.take 8 t <> "..." <> T.takeEnd 8 t showAddress u = T.take 20 t <> "..."
where where
t = encodeUnifiedAddress u t = encodeUnifiedAddress u