forked from cerc-io/plugeth
core/rawdb: typo fix storea => stores (#19498)
* typo fix * change to stores
This commit is contained in:
parent
3873a7314d
commit
504f88b65b
@ -231,7 +231,7 @@ func ReadBody(db ethdb.Reader, hash common.Hash, number uint64) *types.Body {
|
|||||||
return 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) {
|
func WriteBody(db ethdb.Writer, hash common.Hash, number uint64, body *types.Body) {
|
||||||
data, err := rlp.EncodeToBytes(body)
|
data, err := rlp.EncodeToBytes(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user