fix: this is called during the status bar update, do not run socket calls here
This commit is contained in:
@@ -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
|
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):
|
def get_addr_balance(self, addr):
|
||||||
if addr in self.addresses:
|
if self.is_mine(addr):
|
||||||
h = self.history.get(addr)
|
h = self.history.get(addr)
|
||||||
else:
|
else:
|
||||||
h = self.interface.retrieve_history(addr)
|
h = self.interface.retrieve_history(addr)
|
||||||
|
|||||||
Reference in New Issue
Block a user