fix: get_action should call get_master_public_key
authorThomasV <thomasv@gitorious>
Tue, 1 Jul 2014 17:17:43 +0000 (19:17 +0200)
committerThomasV <thomasv@gitorious>
Tue, 1 Jul 2014 17:17:43 +0000 (19:17 +0200)
lib/wallet.py

index f4cc3e7..ed1142a 100644 (file)
@@ -1258,7 +1258,7 @@ class Deterministic_Wallet(Abstract_Wallet):
         return True
 
     def get_action(self):
-        if not self.get_master_public_keys():
+        if not self.get_master_public_key():
             return 'create_seed'
         if not self.accounts:
             return 'create_accounts'