File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bittensor_cli/src/commands/stake Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ async def display_stake_movement_cross_subnets(
124
124
style = COLOR_PALETTE ["POOLS" ]["TAO_EQUIV" ],
125
125
)
126
126
table .add_column (
127
- "Fee (τ )" ,
127
+ f "Fee ({ Balance . get_unit ( origin_netuid ) } )" ,
128
128
justify = "center" ,
129
129
style = COLOR_PALETTE ["STAKE" ]["STAKE_AMOUNT" ],
130
130
)
@@ -137,7 +137,7 @@ async def display_stake_movement_cross_subnets(
137
137
str (amount_to_move ),
138
138
price_str ,
139
139
str (received_amount ),
140
- str (stake_fee ),
140
+ str (stake_fee . set_unit ( origin_netuid ) ),
141
141
)
142
142
143
143
console .print (table )
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ async def unstake(
234
234
str (amount_to_unstake_as_balance ), # Amount to Unstake
235
235
f"{ subnet_info .price .tao :.6f} "
236
236
+ f"({ Balance .get_unit (0 )} /{ Balance .get_unit (netuid )} )" , # Rate
237
- str (stake_fee ), # Fee
237
+ str (stake_fee . set_unit ( netuid ) ), # Fee
238
238
str (received_amount ), # Received Amount
239
239
# slippage_pct, # Slippage Percent
240
240
]
@@ -1189,7 +1189,7 @@ def _create_unstake_table(
1189
1189
style = COLOR_PALETTE ["POOLS" ]["RATE" ],
1190
1190
)
1191
1191
table .add_column (
1192
- f"Fee ({ Balance .get_unit (0 )} )" ,
1192
+ f"Fee ({ Balance .get_unit (1 )} )" ,
1193
1193
justify = "center" ,
1194
1194
style = COLOR_PALETTE ["STAKE" ]["STAKE_AMOUNT" ],
1195
1195
)
You can’t perform that action at this time.
0 commit comments