Browse Source

Read only single line with `--wallet-password-stdin`

master
Kristaps Kaupe 4 years ago
parent
commit
c957c8cacb
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmclient/jmclient/wallet_utils.py

2
jmclient/jmclient/wallet_utils.py

@ -1505,7 +1505,7 @@ def get_wallet_path(file_name, wallet_dir=None):
def read_password_stdin():
return sys.stdin.read().encode('utf-8')
return sys.stdin.readline().replace('\n','').encode('utf-8')
def wallet_tool_main(wallet_root_path):

Loading…
Cancel
Save