fix worker count
This commit is contained in:
parent
79987722bb
commit
a51be72029
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ func (ct *ClaimTrie) makeNameHashNext(names [][]byte, all bool) chan NameHashNex
|
|||
if threads < 1 {
|
||||
threads = 1
|
||||
}
|
||||
for threads >= 0 {
|
||||
for threads > 0 {
|
||||
threads--
|
||||
wg.Add(1)
|
||||
go hashComputationWorker()
|
||||
|
|
Loading…
Reference in a new issue