Skip to content
Snippets Groups Projects
Commit 6bacfb4c authored by inso's avatar inso
Browse files

Fixed a bug with wallet refreshing in watcher

parent 97ad08d7
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class BlockchainWatcher(QObject): ...@@ -36,7 +36,7 @@ class BlockchainWatcher(QObject):
block_number = blockid['number'] block_number = blockid['number']
if self.last_block != block_number: if self.last_block != block_number:
for w in self.account.wallets: for w in self.account.wallets:
w.cache.refresh(self.community) w.refresh_cache(self.community)
logging.debug("New block, {0} mined in {1}".format(block_number, logging.debug("New block, {0} mined in {1}".format(block_number,
self.community.currency)) self.community.currency))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment