Skip to content

Commit 05e0fc5

Browse files
author
Roman
committed
add TODO
1 parent a6a6a13 commit 05e0fc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bittensor/core/async_subtensor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3731,9 +3731,11 @@ async def reveal_weights(
37313731

37323732
return success, message
37333733

3734+
# TODO: remove `block_hash` argument
37343735
async def root_register(
37353736
self,
37363737
wallet: "Wallet",
3738+
block_hash: Optional[str] = None,
37373739
wait_for_inclusion: bool = True,
37383740
wait_for_finalization: bool = True,
37393741
period: Optional[int] = None,
@@ -3743,6 +3745,7 @@ async def root_register(
37433745
37443746
Arguments:
37453747
wallet (bittensor_wallet.Wallet): Bittensor wallet instance.
3748+
block_hash (Optional[str]): This argument will be removed in Bittensor v10
37463749
wait_for_inclusion (bool): Waits for the transaction to be included in a block. Default is ``False``.
37473750
wait_for_finalization (bool): Waits for the transaction to be finalized on the blockchain. Default is
37483751
``False``.

0 commit comments

Comments
 (0)