File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
bittensor/core/extrinsics Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,10 @@ async def add_stake_extrinsic(
137
137
f"on [blue]{ subtensor .network } [/blue][/magenta]...[/magenta]"
138
138
)
139
139
140
+ limit_price = Balance .from_tao (price_with_tolerance ).rao
140
141
call_params .update (
141
142
{
142
- "limit_price" : price_with_tolerance ,
143
+ "limit_price" : limit_price ,
143
144
"allow_partial" : allow_partial_stake ,
144
145
}
145
146
)
Original file line number Diff line number Diff line change @@ -129,9 +129,10 @@ def add_stake_extrinsic(
129
129
f"on [blue]{ subtensor .network } [/blue][/magenta]...[/magenta]"
130
130
)
131
131
132
+ limit_price = Balance .from_tao (price_with_tolerance ).rao
132
133
call_params .update (
133
134
{
134
- "limit_price" : price_with_tolerance ,
135
+ "limit_price" : limit_price ,
135
136
"allow_partial" : allow_partial_stake ,
136
137
}
137
138
)
You can’t perform that action at this time.
0 commit comments