From fb6a74e03472026249937b189e8b6bd5f11e6c7d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 2 Jun 2015 16:49:21 +0200 Subject: [PATCH] fix typo --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 32b9a094a..4e2230ad9 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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 > 0 and n == [[None, None]] * len(n) + return len(n) > 0 and n == [[None, None]] * len(n) def has_seed(self): return False