commit 2e2f4c17e0cbc363b21e5b0fcb878eeb9d3ef3f6
parent 357cc75dcae6a96e6cfd569f098ac7c127cebf7c
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 9 Oct 2016 01:02:53 +0200
fix #1959
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/keystore.py b/lib/keystore.py
@@ -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()