Browse Source

tumbler must reference Wallet type via get_wallet_cls on all code paths

master
AdamISZ 8 years ago
parent
commit
fa135dbfcb
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 2
      scripts/tumbler.py

2
scripts/tumbler.py

@ -45,7 +45,7 @@ def main():
while True: while True:
try: try:
pwd = get_password("Enter wallet decryption passphrase: ") pwd = get_password("Enter wallet decryption passphrase: ")
wallet = SegwitWallet(wallet_name, pwd, max_mix_depth) wallet = get_wallet_cls()(wallet_name, pwd, max_mix_depth)
except WalletError: except WalletError:
print("Wrong password, try again.") print("Wrong password, try again.")
continue continue

Loading…
Cancel
Save