File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3731,9 +3731,11 @@ async def reveal_weights(
3731
3731
3732
3732
return success , message
3733
3733
3734
+ # TODO: remove `block_hash` argument
3734
3735
async def root_register (
3735
3736
self ,
3736
3737
wallet : "Wallet" ,
3738
+ block_hash : Optional [str ] = None ,
3737
3739
wait_for_inclusion : bool = True ,
3738
3740
wait_for_finalization : bool = True ,
3739
3741
period : Optional [int ] = None ,
@@ -3743,6 +3745,7 @@ async def root_register(
3743
3745
3744
3746
Arguments:
3745
3747
wallet (bittensor_wallet.Wallet): Bittensor wallet instance.
3748
+ block_hash (Optional[str]): This argument will be removed in Bittensor v10
3746
3749
wait_for_inclusion (bool): Waits for the transaction to be included in a block. Default is ``False``.
3747
3750
wait_for_finalization (bool): Waits for the transaction to be finalized on the blockchain. Default is
3748
3751
``False``.
You can’t perform that action at this time.
0 commit comments