From 901d8db9c249ea63247c1cf3daf47ffa093230f4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 19 Jan 2012 07:32:39 +0100 Subject: [PATCH] fix: this is called during the status bar update, do not run socket calls here --- client/electrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/electrum.py b/client/electrum.py index 762764111..6284a0c0c 100755 --- a/client/electrum.py +++ b/client/electrum.py @@ -571,7 +571,7 @@ class Wallet: return False, "The last %d addresses in your list have never been used. You should use them first, or increase the allowed gap size in your preferences. "%self.gap_limit def get_addr_balance(self, addr): - if addr in self.addresses: + if self.is_mine(addr): h = self.history.get(addr) else: h = self.interface.retrieve_history(addr)