Skip to content

Commit a87c094

Browse files
committed
wait for all checkers to finish
1 parent 1651970 commit a87c094

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/migration-checker/main.go

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ func main() {
5151
zkDb: zkDb,
5252
mptDb: mptDb,
5353
}, zkRootHash, mptRootHash, "", checkAccountEquality, true)
54+
55+
for i := 0; i < runtime.GOMAXPROCS(0)*4; i++ {
56+
<-trieCheckers
57+
}
5458
}
5559

5660
func panicOnError(err error, label, msg string) {

0 commit comments

Comments
 (0)