From fa135dbfcb75fbbf6b71262432f5d5a8573f52ef Mon Sep 17 00:00:00 2001 From: AdamISZ Date: Sun, 13 May 2018 14:44:43 +0200 Subject: [PATCH] tumbler must reference Wallet type via get_wallet_cls on all code paths --- scripts/tumbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tumbler.py b/scripts/tumbler.py index c032918..e3664d7 100644 --- a/scripts/tumbler.py +++ b/scripts/tumbler.py @@ -45,7 +45,7 @@ def main(): while True: try: 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: print("Wrong password, try again.") continue