Fixes for @omkar1117
This commit is contained in:
parent
581c8ee087
commit
4a097e99b3
|
@ -6,8 +6,8 @@ import time
|
|||
from binascii import hexlify
|
||||
from subprocess import call # nosec
|
||||
|
||||
import knownnodes
|
||||
import highlevelcrypto
|
||||
import knownnodes
|
||||
from addresses import (
|
||||
calculateInventoryHash, decodeAddress, decodeVarint, encodeAddress,
|
||||
encodeVarint, varintDecodeError
|
||||
|
|
|
@ -119,7 +119,7 @@ class singleWorker(threading.Thread, StoppableThread):
|
|||
# before we start on existing POW tasks.
|
||||
self.stop.wait(10)
|
||||
|
||||
if state.shutdown > 0:
|
||||
if state.shutdown:
|
||||
return
|
||||
|
||||
# just in case there are any pending tasks for msg
|
||||
|
|
Loading…
Reference in New Issue
Block a user