ThomasV 8 years ago
parent
commit
2e2f4c17e0
  1. 3
      lib/keystore.py

3
lib/keystore.py

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

Loading…
Cancel
Save