diff --git a/src/util/hash.ts b/src/util/hash.ts index c0aaf6a68..3dc833892 100644 --- a/src/util/hash.ts +++ b/src/util/hash.ts @@ -13,6 +13,6 @@ export function iconHashToBigInt(hash: string) { } export function iconBigintToHash(icon: bigint, animated = true) { - const hash = icon.toString(16); + const hash = icon.toString(16).padStart(32, "0"); return `${animated ? "a_" : ""}${hash}`; }