Skip to content

Commit 81f1bce

Browse files
committed
Fixed sn0
1 parent 0c39a0d commit 81f1bce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bittensor/utils/balance.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,9 @@ def fixed_to_float(
362362

363363
# lowercase is added for backwards compatibility to not break API
364364
units = UNITS = [
365-
b"\xce\xa4".decode(), # Τ (Upper case Tau, 0)
365+
chr(
366+
0x03C4
367+
), # τ Note: the subnet symbol for sn 0 is b"\xce\xa4" / Τ / Tau — however the currency/balance is τ (Tao)
366368
b"\xce\xb1".decode(), # α (Alpha, 1)
367369
b"\xce\xb2".decode(), # β (Beta, 2)
368370
b"\xce\xb3".decode(), # γ (Gamma, 3)

0 commit comments

Comments
 (0)