Skip to content

Commit

Permalink
fix syntax error in subtensor_impl, add missing Tuple import
Browse files Browse the repository at this point in the history
  • Loading branch information
ifrit98 committed Jul 4, 2023
1 parent b8e25dd commit d0baecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bittensor/_subtensor/extrinsics/staking.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from rich.prompt import Confirm
from time import sleep
from typing import List, Dict, Union, Optional
from typing import List, Dict, Union, Optional, Tuple
from bittensor.utils.balance import Balance
from ..errors import *

Expand Down
2 changes: 1 addition & 1 deletion bittensor/_subtensor/subtensor_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ def _do_undelegation(
amount: 'bittensor.Balance',
wait_for_inclusion: bool = True,
wait_for_finalization: bool = False,
) -> Tuple[bool, Optional[str]]::
) -> Tuple[bool, Optional[str]]:
with self.substrate as substrate:
call = substrate.compose_call(
call_module='SubtensorModule',
Expand Down

0 comments on commit d0baecc

Please sign in to comment.