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