Skip to content

Commit

Permalink
Merge pull request hummingbot#181 from CoinAlpha/fix/gateway_connect_…
Browse files Browse the repository at this point in the history
…hidden_input_prompts

fix/ Ensure that all private key inputs in `gateway connect` are hidden
  • Loading branch information
Daniel Tan authored Mar 31, 2022
2 parents d1dedad + 77eac86 commit 481a1be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hummingbot/client/command/gateway_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,8 @@ async def _gateway_connect(
self.app.clear_input()
self.placeholder_mode = True
wallet_private_key = await self.app.prompt(
prompt=f"Enter your {chain}-{network} wallet private key >>> "
prompt=f"Enter your {chain}-{network} wallet private key >>> ",
is_password=True
)
self.app.clear_input()
if self.app.to_stop_config:
Expand Down

0 comments on commit 481a1be

Please sign in to comment.