diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 003117f5f..01ec05214 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -522,7 +522,7 @@ class InstallWizard(QDialog): if not key_list: return password = self.password_dialog() if any(map(lambda x: Wallet.is_seed(x) or Wallet.is_xprv(x), key_list)) else None - wallet = Wallet.from_multisig(key_list, password, self.storage) + wallet = Wallet.from_multisig(key_list, password, self.storage, t) else: self.storage.put('wallet_type', t, False) diff --git a/lib/wallet.py b/lib/wallet.py index 93b3f370c..96d3ef61a 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1999,7 +1999,8 @@ class Wallet(object): return w @classmethod - def from_multisig(klass, key_list, password, storage): + def from_multisig(klass, key_list, password, storage, wallet_type): + storage.put('wallet_type', wallet_type, True) self = Multisig_Wallet(storage) key_list = sorted(key_list, key = lambda x: klass.is_xpub(x)) for i, text in enumerate(key_list):