diff --git a/src/class_receiveDataThread.py b/src/class_receiveDataThread.py index d42cad3f..ec025c26 100644 --- a/src/class_receiveDataThread.py +++ b/src/class_receiveDataThread.py @@ -395,7 +395,7 @@ class receiveDataThread(threading.Thread): self.broadcastinv(self.inventoryHash) shared.UISignalQueue.put(( 'incrementNumberOfBroadcastsProcessed', 'no data')) - shared.broadcastTotals = shared.broadcastTotals + 1 # Used specifically for API + shared.broadcastTotals += 1 # Used specifically for API self.processbroadcast( readPosition, data) # When this function returns, we will have either successfully processed this broadcast because we are interested in it, ignored it because we aren't interested in it, or found problem with the broadcast that warranted ignoring it. @@ -763,7 +763,7 @@ class receiveDataThread(threading.Thread): self.broadcastinv(self.inventoryHash) shared.UISignalQueue.put(( 'incrementNumberOfMessagesProcessed', 'no data')) - shared.messagesTotals = shared.messagesTotals + 1 # Used specifically for API + shared.messagesTotals += 1 # Used specifically for API self.processmsg( readPosition, data) # When this function returns, we will have either successfully processed the message bound for us, ignored it because it isn't bound for us, or found problem with the message that warranted ignoring it. @@ -1181,7 +1181,7 @@ class receiveDataThread(threading.Thread): self.broadcastinv(inventoryHash) shared.UISignalQueue.put(( 'incrementNumberOfPubkeysProcessed', 'no data')) - shared.pubkeysTotals = shared.pubkeysTotals + 1 # Used specifically for API + shared.pubkeysTotals += 1 # Used specifically for API self.processpubkey(data) lengthOfTimeWeShouldUseToProcessThisMessage = .2