File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
bittensor/core/extrinsics Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,16 @@ def unstake_extrinsic(
107
107
base_price = pool .price .rao
108
108
price_with_tolerance = base_price * (1 - rate_tolerance )
109
109
110
+ # For logging
111
+ base_rate = pool .price .tao
112
+ rate_with_tolerance = base_rate * (1 - rate_tolerance )
113
+
110
114
logging .info (
111
115
f":satellite: [magenta]Safe Unstaking from:[/magenta] "
112
116
f"netuid: [green]{ netuid } [/green], amount: [green]{ unstaking_balance } [/green], "
113
117
f"tolerance percentage: [green]{ rate_tolerance * 100 } %[/green], "
114
- f"price limit: [green]{ price_with_tolerance } [/green], "
115
- f"original price: [green]{ base_price } [/green], "
118
+ f"price limit: [green]{ rate_with_tolerance } [/green], "
119
+ f"original price: [green]{ base_rate } [/green], "
116
120
f"with partial unstake: [green]{ allow_partial_stake } [/green] "
117
121
f"on [blue]{ subtensor .network } [/blue][magenta]...[/magenta]"
118
122
)
You can’t perform that action at this time.
0 commit comments