File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2350,8 +2350,9 @@ async def get_subnet_prices(
2350
2350
current_price = current_sqrt_price * current_sqrt_price
2351
2351
current_price_in_tao = Balance .from_rao (int (current_price * 1e9 ))
2352
2352
prices .update ({id_ : current_price_in_tao })
2353
+
2353
2354
# SN0 price is always 1 TAO
2354
- prices [ 0 ] = Balance .from_tao (1 )
2355
+ prices . update ({ 0 : Balance .from_tao (1 )} )
2355
2356
return prices
2356
2357
2357
2358
async def get_unstake_fee (
Original file line number Diff line number Diff line change @@ -1882,8 +1882,9 @@ def get_subnet_prices(
1882
1882
current_price = current_sqrt_price * current_sqrt_price
1883
1883
current_price_in_tao = Balance .from_rao (int (current_price * 1e9 ))
1884
1884
prices .update ({id_ : current_price_in_tao })
1885
+
1885
1886
# SN0 price is always 1 TAO
1886
- prices [ 0 ] = Balance .from_tao (1 )
1887
+ prices . update ({ 0 : Balance .from_tao (1 )} )
1887
1888
return prices
1888
1889
1889
1890
def get_unstake_fee (
You can’t perform that action at this time.
0 commit comments