commit 901d8db9c249ea63247c1cf3daf47ffa093230f4
parent 39a9979f5b84f2d2536ed5cdba158c6dc231d660
Author: ThomasV <thomasv@gitorious>
Date: Thu, 19 Jan 2012 07:32:39 +0100
fix: this is called during the status bar update, do not run socket calls here
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)