Use 5 chars for hash

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
This commit is contained in:
Abel Fernández
2023-04-13 16:29:55 +02:00
committed by GitHub
co-authored by Simon Warta
parent 3af4f62145
commit bd28c5de88
+1 -1
View File
@@ -53,7 +53,7 @@ const printableCoin = (coin: Coin, chainInfo: ChainInfo) => {
if (coin.denom.startsWith("ibc/")) {
const value = coin.amount;
const hash = coin.denom.slice(4);
const ellidedHash = ellideMiddle(hash, 12);
const ellidedHash = ellideMiddle(hash, 11);
const ticker = `ibc/${ellidedHash}`;
return value + thinSpace + ticker;
}