@@ -143,7 +143,7 @@ def add_tx_args(
143
143
sub .add_argument ("--options" , type = int , default = 0 , help = "the transaction options (default: %(default)s)" )
144
144
145
145
sub .add_argument ("--relayer" , type = str , help = "the bech32 address of the relayer" , default = "" )
146
- sub .add_argument ("--guardian" , type = str , help = "the bech32 address of the guradian " , default = "" )
146
+ sub .add_argument ("--guardian" , type = str , help = "the bech32 address of the guardian " , default = "" )
147
147
148
148
149
149
def add_wallet_args (args : list [str ], sub : Any ):
@@ -368,7 +368,7 @@ def _get_guardian_data_from_network(sender: str, args: Any, guardian_and_relayer
368
368
guardian_and_relayer_data .guardian_service_url = tcs_url if tcs_url else args .guardian_service_url
369
369
370
370
if guardian_and_relayer_data .guardian_service_url :
371
- guardian_and_relayer_data .guardian_2fa_code = _get_2fa_code (args )
371
+ guardian_and_relayer_data .guardian_2fa_code = _ask_for_2fa_code (args )
372
372
373
373
374
374
def _get_guardian_data (address : str , proxy_url : str ) -> Union [dict [str , str ], None ]:
@@ -406,7 +406,7 @@ def _fetch_guardian_data(address: str, proxy_url: str) -> dict[str, Any]:
406
406
return guardian_data
407
407
408
408
409
- def _get_2fa_code (args : Any ) -> str :
409
+ def _ask_for_2fa_code (args : Any ) -> str :
410
410
code : str = args .guardian_2fa_code
411
411
if not code :
412
412
code = input ("Please enter the two factor authentication code: " )
0 commit comments