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

Fixing logging spam

parent 1d4e670d
No related branches found
No related tags found
No related merge requests found
...@@ -32,12 +32,9 @@ class BlockchainInspector(QThread): ...@@ -32,12 +32,9 @@ class BlockchainInspector(QThread):
self.wait() self.wait()
def run(self): def run(self):
logging.debug("Runs.")
while not self.exiting: while not self.exiting:
logging.debug("Sleep.")
time.sleep(10) time.sleep(10)
current_block = self.community.request(bma.blockchain.Current) current_block = self.community.request(bma.blockchain.Current)
logging.debug("Current block... {0}".format(current_block['number']))
if self.last_block != current_block['number']: if self.last_block != current_block['number']:
for w in self.account.wallets: for w in self.account.wallets:
w.cache.refresh(self.community) w.cache.refresh(self.community)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment