fix: wizard 2of2 (cosigning key)
authorThomasV <thomasv@gitorious>
Mon, 2 Jun 2014 20:25:32 +0000 (22:25 +0200)
committerThomasV <thomasv@gitorious>
Mon, 2 Jun 2014 20:25:32 +0000 (22:25 +0200)
gui/qt/installwizard.py

index dab342a..785fa1f 100644 (file)
@@ -436,10 +436,11 @@ class InstallWizard(QDialog):
 
         if action == 'create_2of2_2':
             xpub_hot = wallet.master_public_keys.get("m/")
-            xpub = self.multi_mpk_dialog(xpub_hot, 1)
-            if not xpub:
+            r = self.multi_mpk_dialog(xpub_hot, 1)
+            if not r:
                 return
-            wallet.add_master_public_key("cold/", xpub)
+            xpub_cold = r[0]
+            wallet.add_master_public_key("cold/", xpub_cold)
             wallet.create_account()
             self.waiting_dialog(wallet.synchronize)