Procházet zdrojové kódy

core/state/snapshot: gethring -> gathering typo (#22104)

Melvin Junhee Woo před 4 roky
rodič
revize
167ff563d1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      core/state/snapshot/generate.go

+ 1 - 1
core/state/snapshot/generate.go

@@ -151,7 +151,7 @@ func journalProgress(db ethdb.KeyValueWriter, marker []byte, stats *generatorSta
 
 // generate is a background thread that iterates over the state and storage tries,
 // constructing the state snapshot. All the arguments are purely for statistics
-// gethering and logging, since the method surfs the blocks as they arrive, often
+// gathering and logging, since the method surfs the blocks as they arrive, often
 // being restarted.
 func (dl *diskLayer) generate(stats *generatorStats) {
 	// If a database wipe is in operation, wait until it's done