Skip to content

Commit f404ea5

Browse files
committed
Mypy
1 parent 0e93f2a commit f404ea5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bittensor/core/async_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3157,7 +3157,7 @@ async def get_transfer_fee(
31573157
wallet has sufficient funds to cover both the transfer amount and the associated costs. This function provides
31583158
a crucial tool for managing financial operations within the Bittensor network.
31593159
"""
3160-
call_params = {"dest": dest}
3160+
call_params: dict[str, Union[int, str, bool]] = {"dest": dest}
31613161
if value is None:
31623162
call_function = "transfer_all"
31633163
if keep_alive:

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ def get_transfer_fee(
22712271
has sufficient funds to cover both the transfer amount and the associated costs. This function provides a
22722272
crucial tool for managing financial operations within the Bittensor network.
22732273
"""
2274-
call_params = {"dest": dest}
2274+
call_params: dict[str, Union[int, str, bool]] = {"dest": dest}
22752275
if value is None:
22762276
call_function = "transfer_all"
22772277
if keep_alive:

0 commit comments

Comments
 (0)