Przeglądaj źródła

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

* typo fix

* change to stores
Hongbin Mao 6 lat temu
rodzic
commit
504f88b65b
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {