1
0

disable wallet menus when they do not apply

This commit is contained in:
ThomasV
2014-05-01 12:19:24 +02:00
parent 84052bcdb2
commit 95fce65e12
2 changed files with 20 additions and 8 deletions

View File

@@ -1118,6 +1118,9 @@ class Imported_Wallet(Abstract_Wallet):
def has_seed(self):
return False
def is_deterministic(self):
return False
class Deterministic_Wallet(Abstract_Wallet):
@@ -1128,6 +1131,9 @@ class Deterministic_Wallet(Abstract_Wallet):
def has_seed(self):
return self.seed != ''
def is_deterministic(self):
return True
def is_watching_only(self):
return not self.has_seed()