|
|
@ -1916,7 +1916,10 @@ class Wallet(object): |
|
|
|
if wallet_type: |
|
|
|
for cat, t, name, loader in wallet_types: |
|
|
|
if t == wallet_type: |
|
|
|
WalletClass = loader |
|
|
|
if cat in ['hardware', 'twofactor']: |
|
|
|
WalletClass = lambda storage: apply(loader().constructor, (storage,)) |
|
|
|
else: |
|
|
|
WalletClass = loader |
|
|
|
break |
|
|
|
else: |
|
|
|
if re.match('(\d+)of(\d+)', wallet_type): |
|
|
|