tfix #1959 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2e2f4c17e0cbc363b21e5b0fcb878eeb9d3ef3f6 DIR parent 357cc75dcae6a96e6cfd569f098ac7c127cebf7c HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 9 Oct 2016 01:02:53 +0200 fix #1959 Diffstat: M lib/keystore.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/keystore.py b/lib/keystore.py t@@ -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()