This commit is contained in:
ThomasV 2016-10-09 01:02:53 +02:00
parent 357cc75dca
commit 2e2f4c17e0
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,9 @@ class Deterministic_KeyStore(Software_KeyStore):
def has_seed(self):
return bool(self.seed)
def is_watching_only(self):
return not self.has_seed()
def can_change_password(self):
return not self.is_watching_only()