Fixes for @omkar1117

This commit is contained in:
Dmitri Bogomolov 2019-05-10 09:03:29 +03:00
parent 581c8ee087
commit 4a097e99b3
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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