diff --git a/lib/wallet.py b/lib/wallet.py index 82dfa510..32b9a094 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 == [[None, None]] * len(n) + return n > 0 and n == [[None, None]] * len(n) def has_seed(self): return False