Skip to content

Commit 64bd56b

Browse files
committed
Make rao -> tao
1 parent 7b0c1ea commit 64bd56b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bittensor/core/async_subtensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ async def get_stake_add_fee(
16081608
],
16091609
block=block,
16101610
)
1611-
return Balance.from_rao(result)
1611+
return Balance.from_tao(result)
16121612

16131613
async def get_unstake_fee(
16141614
self,
@@ -1643,7 +1643,7 @@ async def get_unstake_fee(
16431643
],
16441644
block=block,
16451645
)
1646-
return Balance.from_rao(result)
1646+
return Balance.from_tao(result)
16471647

16481648
async def get_stake_movement_fee(
16491649
self,
@@ -1684,7 +1684,7 @@ async def get_stake_movement_fee(
16841684
],
16851685
block=block,
16861686
)
1687-
return Balance.from_rao(result)
1687+
return Balance.from_tao(result)
16881688

16891689
async def get_stake_for_coldkey_and_hotkey(
16901690
self,

bittensor/core/subtensor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ def get_stake_add_fee(
12431243
],
12441244
block=block,
12451245
)
1246-
return Balance.from_rao(result)
1246+
return Balance.from_tao(result)
12471247

12481248
def get_unstake_fee(
12491249
self,
@@ -1278,7 +1278,7 @@ def get_unstake_fee(
12781278
],
12791279
block=block,
12801280
)
1281-
return Balance.from_rao(result)
1281+
return Balance.from_tao(result)
12821282

12831283
def get_stake_movement_fee(
12841284
self,
@@ -1319,7 +1319,7 @@ def get_stake_movement_fee(
13191319
],
13201320
block=block,
13211321
)
1322-
return Balance.from_rao(result)
1322+
return Balance.from_tao(result)
13231323

13241324
def get_stake_for_coldkey_and_hotkey(
13251325
self,

0 commit comments

Comments
 (0)