Removed extraneous import.
This commit is contained in:
parent
da0b771e35
commit
74b94e7571
|
@ -23,7 +23,7 @@ def _pool_worker(nonce, initialHash, target, pool_size):
|
||||||
return [trialValue, nonce]
|
return [trialValue, nonce]
|
||||||
|
|
||||||
def run(target, initialHash):
|
def run(target, initialHash):
|
||||||
from multiprocessing import Pool, cpu_count, Value
|
from multiprocessing import Pool, cpu_count
|
||||||
import time
|
import time
|
||||||
try:
|
try:
|
||||||
pool_size = cpu_count()
|
pool_size = cpu_count()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user