Browse Source

fix wallet-tool script for Wallet refactor

master
Adam Gibson 9 years ago
parent
commit
a115426f79
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 5
      scripts/wallet-tool.py

5
scripts/wallet-tool.py

@ -105,6 +105,11 @@ if args[0] in noseed_methods:
else:
seed = args[0]
method = ('display' if len(args) == 1 else args[1].lower())
if not os.path.exists(os.path.join('wallets', seed)):
wallet = Wallet(seed, None, options.maxmixdepth,
options.gaplimit, extend_mixdepth= not maxmixdepth_configured,
storepassword=(method == 'importprivkey'))
else:
while True:
try:
pwd = get_password("Enter wallet decryption passphrase: ")

Loading…
Cancel
Save