From a366d3a87b11dca9046fd8a1aee565dcd327583b Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Thu, 7 Mar 2024 12:34:55 -0600 Subject: [PATCH] Change display of UAs per ZIP-316 --- src/Zenith/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zenith/Utils.hs b/src/Zenith/Utils.hs index 6ec841e..86a58ed 100644 --- a/src/Zenith/Utils.hs +++ b/src/Zenith/Utils.hs @@ -33,7 +33,7 @@ displayZec s -- | Helper function to display abbreviated Unified Address showAddress :: UnifiedAddress -> T.Text -showAddress u = T.take 8 t <> "..." <> T.takeEnd 8 t +showAddress u = T.take 20 t <> "..." where t = encodeUnifiedAddress u