Skip to content

Commit ec32d9f

Browse files
committed
Updates balance conversion unit
1 parent c2bf3ca commit ec32d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/core/chain_data/metagraph_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# to balance with unit (just shortcut)
1717
def _tbwu(val: int, netuid: Optional[int] = 0) -> Balance:
1818
"""Returns a Balance object from a value and unit."""
19-
return Balance.from_tao(val, netuid)
19+
return Balance.from_rao(val, netuid)
2020

2121

2222
@dataclass

0 commit comments

Comments
 (0)