File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,6 @@ async def burned_register_extrinsic(
678
678
wait_for_inclusion : bool = True ,
679
679
wait_for_finalization : bool = True ,
680
680
era : Optional [int ] = None ,
681
- prompt : bool = False ,
682
681
) -> tuple [bool , str ]:
683
682
"""Registers the wallet to chain by recycling TAO.
684
683
Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ async def root_register_extrinsic(
290
290
wallet : Wallet ,
291
291
wait_for_inclusion : bool = True ,
292
292
wait_for_finalization : bool = True ,
293
- prompt : bool = False ,
294
293
) -> tuple [bool , str ]:
295
294
r"""Registers the wallet to root network.
296
295
Original file line number Diff line number Diff line change @@ -1662,12 +1662,14 @@ async def register(
1662
1662
subtensor ,
1663
1663
wallet = wallet ,
1664
1664
netuid = netuid ,
1665
- prompt = False ,
1666
1665
old_balance = balance ,
1667
1666
era = era ,
1668
1667
)
1669
1668
if json_output :
1670
1669
json_console .print (json .dumps ({"success" : success , "msg" : msg }))
1670
+ else :
1671
+ if not success :
1672
+ err_console .print (f"Failure: { msg } " )
1671
1673
1672
1674
1673
1675
# TODO: Confirm emissions, incentive, Dividends are to be fetched from subnet_state or keep NeuronInfo
You can’t perform that action at this time.
0 commit comments