File tree 1 file changed +1
-15
lines changed
1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func main() {
36
36
zkRoot = flag .String ("zk-root" , "" , "root hash of the ZK node" )
37
37
paranoid = flag .Bool ("paranoid" , false , "verifies all node contents against their expected hash" )
38
38
parallelismMultipler = flag .Int ("parallelism-multiplier" , 4 , "multiplier for the number of parallel workers" )
39
- startFrom = flag .Int ("start-form " , 0 , "start checking from account at the given index" )
39
+ startFrom = flag .Int ("start-from " , 0 , "start checking from account at the given index" )
40
40
)
41
41
flag .Parse ()
42
42
@@ -54,20 +54,6 @@ func main() {
54
54
trieCheckers <- struct {}{}
55
55
}
56
56
57
- done := make (chan struct {})
58
- totalCheckers := len (trieCheckers )
59
- go func () {
60
- for {
61
- select {
62
- case <- done :
63
- return
64
- case <- time .After (time .Minute ):
65
- fmt .Println ("Active checkers:" , totalCheckers - len (trieCheckers ))
66
- }
67
- }
68
- }()
69
- defer close (done )
70
-
71
57
startFromSafe := * startFrom - len (trieCheckers )
72
58
if startFromSafe < 0 {
73
59
startFromSafe = 0
You can’t perform that action at this time.
0 commit comments