This commit is contained in:
hello2mao 2019-04-26 09:26:19 +08:00
parent 3873a7314d
commit be8b5e236b

View file

@ -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 store 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 {