tfix is_watching_only - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 3188ff05a3a6b1dfc6a64ec2ac79dc6633a1270a (DIR) parent bade5741881e2b5c44b5a37caae324a28a583af5 (HTM) Author: ThomasV <thomasv@gitorious> Date: Tue, 2 Jun 2015 16:41:32 +0200 fix is_watching_only Diffstat: M lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1302,7 +1302,7 @@ class Imported_Wallet(Abstract_Wallet): def is_watching_only(self): acc = self.accounts[IMPORTED_ACCOUNT] n = acc.keypairs.values() - return n == [[None, None]] * len(n) + return n > 0 and n == [[None, None]] * len(n) def has_seed(self): return False