Update core/types/receipt.go

This commit is contained in:
Martin Holst Swende 2023-08-25 09:52:59 -04:00 committed by GitHub
parent 8e72579e7c
commit 08385ca2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,7 +271,7 @@ func (r *ReceiptForStorage) EncodeRLP(_w io.Writer) error {
logList := w.List()
for _, log := range r.Logs {
if err := log.EncodeRLP(w); err != nil {
return nil
return err
}
}
w.ListEnd(logList)