fix: get_action
authorThomasV <thomasv@gitorious>
Mon, 7 Jul 2014 21:35:01 +0000 (23:35 +0200)
committerThomasV <thomasv@gitorious>
Mon, 7 Jul 2014 21:35:01 +0000 (23:35 +0200)
lib/wallet.py

index 8230481..d1be41d 100644 (file)
@@ -1256,7 +1256,7 @@ class Deterministic_Wallet(Abstract_Wallet):
         return True
 
     def get_action(self):
-        if not self.master_public_keys:
+        if not self.get_master_public_key():
             return 'create_seed'
         if not self.accounts:
             return 'create_accounts'