mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: presedence error
This commit is contained in:
parent
8a5798e6a2
commit
29d036a9f5
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
export function iconHashToBigInt(hash: string) {
|
||||
return BigInt("0x" + hash.startsWith("a_") ? `a${hash.substring(2)}` : `b${hash}`);
|
||||
return BigInt("0x" + (hash.startsWith("a_") ? `a${hash.substring(2)}` : `b${hash}`));
|
||||
}
|
||||
|
||||
export function iconBigintToHash(icon: bigint) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user