mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 22:16:08 +00:00
fix: presedence error
This commit is contained in:
parent
8a5798e6a2
commit
83aaebccab
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export function iconHashToBigInt(hash: string) {
|
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) {
|
export function iconBigintToHash(icon: bigint) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user