Procházet zdrojové kódy

core/rawdb: typo fix storea => stores (#19498)

* typo fix

* change to stores
Hongbin Mao před 6 roky
rodič
revize
504f88b65b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      core/rawdb/accessors_chain.go

+ 1 - 1
core/rawdb/accessors_chain.go

@@ -231,7 +231,7 @@ func ReadBody(db ethdb.Reader, hash common.Hash, number uint64) *types.Body {
 	return body
 }
 
-// WriteBody storea a block body into the database.
+// WriteBody stores a block body into the database.
 func WriteBody(db ethdb.Writer, hash common.Hash, number uint64, body *types.Body) {
 	data, err := rlp.EncodeToBytes(body)
 	if err != nil {