Преглед изворни кода

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

* typo fix

* change to stores
Hongbin Mao пре 6 година
родитељ
комит
504f88b65b
1 измењених фајлова са 1 додато и 1 уклоњено
  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 {